Share via


ModelPrivilege Class

Defines the data contract for the model permission.

Inheritance Hierarchy

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "ModelPrivilege", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class ModelPrivilege _
    Inherits DataContractBase
'Usage
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

The ModelPrivilege type exposes the following members.

Constructors

  Name Description
Public method ModelPrivilege Initializes a new instance of the ModelPrivilege class.

Top

Properties

  Name Description
Public property AuditInfo Gets or sets the audit information.
Public property Identifier Gets or sets the permission identifier.
Public property IsModelAdministrator Gets or sets a value that indicates whether the principal is the model administrator.
Public property ModelId Gets or sets the model identifier.
Public property ObjectId Gets or sets the model object identifier.
Public property ObjectType Gets or sets the model object type.
Public property Permission Gets or sets the permission.
Public property PrincipalId Gets or sets the principal identifier.
Public property PrincipalType Gets or sets the principal type.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace