共用方式為


ModelPrivilege 類別

Defines the data contract for the model permission.

繼承階層

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.ModelPrivilege

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
<DataContractAttribute(Name := "ModelPrivilege", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class ModelPrivilege _
    Inherits DataContractBase
'用途
Dim instance As ModelPrivilege
[DataContractAttribute(Name = "ModelPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class ModelPrivilege : DataContractBase
[DataContractAttribute(Name = L"ModelPrivilege", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class ModelPrivilege sealed : public DataContractBase
[<SealedAttribute>]
[<DataContractAttribute(Name = "ModelPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type ModelPrivilege =  
    class 
        inherit DataContractBase 
    end
public final class ModelPrivilege extends DataContractBase

ModelPrivilege 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ModelPrivilege Initializes a new instance of the ModelPrivilege class.

上層

屬性

  名稱 說明
公用屬性 AuditInfo Gets or sets the audit information.
公用屬性 Identifier Gets or sets the permission identifier.
公用屬性 IsModelAdministrator Gets or sets a value that indicates whether the principal is the model administrator.
公用屬性 ModelId Gets or sets the model identifier.
公用屬性 ObjectId Gets or sets the model object identifier.
公用屬性 ObjectType Gets or sets the model object type.
公用屬性 Permission Gets or sets the permission.
公用屬性 PrincipalId Gets or sets the principal identifier.
公用屬性 PrincipalType Gets or sets the principal type.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.MasterDataServices.Services.DataContracts 命名空間