共用方式為


SPPeoplePickerSettings.SearchActiveDirectoryDomains property

取得 「 人員選擇 」 控制項搜尋網域樹系。

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

Syntax

'宣告
Public ReadOnly Property SearchActiveDirectoryDomains As Collection(Of SPPeoplePickerSearchActiveDirectoryDomain)
    Get
'用途
Dim instance As SPPeoplePickerSettings
Dim value As Collection(Of SPPeoplePickerSearchActiveDirectoryDomain)

value = instance.SearchActiveDirectoryDomains
public Collection<SPPeoplePickerSearchActiveDirectoryDomain> SearchActiveDirectoryDomains { get; }

Property value

Type: System.Collections.ObjectModel.Collection<SPPeoplePickerSearchActiveDirectoryDomain>
代表網域的樹系的SPPeoplePickerSearchActiveDirectoryDomain物件的集合。

請參閱

參照

SPPeoplePickerSettings class

SPPeoplePickerSettings members

Microsoft.SharePoint.Administration namespace