共用方式為


SPMetabaseObject.CurrentDirectoryEntry property

取得對應於此物件的設定存放區 AD DS 節點。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected ReadOnly Property CurrentDirectoryEntry As DirectoryEntry
    Get
'用途
Dim value As DirectoryEntry

value = Me.CurrentDirectoryEntry
protected DirectoryEntry CurrentDirectoryEntry { get; }

Property value

Type: System.DirectoryServices.DirectoryEntry
DirectoryEntry 物件,代表 Active Directory] 節點。

請參閱

參照

SPMetabaseObject class

SPMetabaseObject members

Microsoft.SharePoint.Administration namespace

其他資源

DirectoryEntry 物件

瀏覽至子物件