Principal.Context 属性

定义

获取与主体关联的主体上下文。

public:
 property System::DirectoryServices::AccountManagement::PrincipalContext ^ Context { System::DirectoryServices::AccountManagement::PrincipalContext ^ get(); };
public System.DirectoryServices.AccountManagement.PrincipalContext Context { get; }
public System.DirectoryServices.AccountManagement.PrincipalContext Context { [System.Security.SecurityCritical] [System.Security.SecurityTreatAsSafe] get; }
member this.Context : System.DirectoryServices.AccountManagement.PrincipalContext
[<get: System.Security.SecurityCritical>]
[<get: System.Security.SecurityTreatAsSafe>]
member this.Context : System.DirectoryServices.AccountManagement.PrincipalContext
Public ReadOnly Property Context As PrincipalContext

属性值

一个 PrincipalContext 对象,其中包含与此主体关联的上下文。

属性

适用于