Principal.GetUnderlyingObject 方法

定义

返回基础 DirectoryEntry 对象,其将提供主体对象的联系人数据。Returns the underlying DirectoryEntry object that provides the contact data for the principal object.

public:
 System::Object ^ GetUnderlyingObject();
public object GetUnderlyingObject ();
[System.Security.SecurityCritical]
public object GetUnderlyingObject ();
member this.GetUnderlyingObject : unit -> obj
[<System.Security.SecurityCritical>]
member this.GetUnderlyingObject : unit -> obj
Public Function GetUnderlyingObject () As Object

返回

Object

基础 DirectoryEntry 对象。The underlying DirectoryEntry object.

属性

例外

未留存当前主体,且没有关联的 DirectoryEntry 对象。The current principal has not been persisted and does not have an associated DirectoryEntry object.

适用于