共用方式為


SPPeoplePickerSettings.SearchActiveDirectoryDomains Property

Gets the domain forests that the People Picker control searches.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property SearchActiveDirectoryDomains As Collection(Of SPPeoplePickerSearchActiveDirectoryDomain)
    Get
'Usage
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>
A collection of SPPeoplePickerSearchActiveDirectoryDomain objects that represent the domain forests.

See Also

Reference

SPPeoplePickerSettings Class

SPPeoplePickerSettings Members

Microsoft.SharePoint.Administration Namespace