共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。