FunctionPrivilege 类

Represents a function privilege security assignment for a user or group.

继承层次结构

System. . :: . .Object
  Microsoft.MasterDataServices.Services.DataContracts..::..FunctionPrivilege

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services(在 Microsoft.MasterDataServices.Services.dll 中)

语法

声明
<DataContractAttribute(Name := "FunctionPrivilege", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class FunctionPrivilege
用法
Dim instance As FunctionPrivilege
[DataContractAttribute(Name = "FunctionPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class FunctionPrivilege
[DataContractAttribute(Name = L"FunctionPrivilege", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class FunctionPrivilege sealed
[<SealedAttribute>]
[<DataContractAttribute(Name = "FunctionPrivilege", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type FunctionPrivilege =  class end
public final class FunctionPrivilege

FunctionPrivilege 类型公开以下成员。

构造函数

  名称 说明
公共方法 FunctionPrivilege() () () () Initializes a new instance of the FunctionPrivilege class with default values.
公共方法 FunctionPrivilege(Identifier, PrincipalType, FunctionalArea) Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, and function.
公共方法 FunctionPrivilege(Identifier, PrincipalType, FunctionalArea, Boolean) Initializes a new instance of the FunctionPrivilege class with the specified principal identifier, type, function, and authorization.

页首

属性

  名称 说明
公共属性 AuditInfo AuditInfo complex type
公共属性 Function The FunctionalArea assigned to the security principal.
公共属性 Identifier The Identifier of the function privilege assignment.
公共属性 IsAuthorized Gets or sets a value indicating whether the function is assigned to the principal. Function privileges are either on or off (authorized or not authorized).
公共属性 PrincipalId Gets or sets the Identifier of the Principal in the function privilege assignment.
公共属性 PrincipalType Gets or sets the Identifier of the Principal in the function privilege assignment.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。