共用方式為


SPPeoplePickerSearchActiveDirectoryDomain.IsForest Property

Gets or sets a Boolean value that specifies whether the Active Directory domain is a forest.

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

Syntax

'Declaration
Public Property IsForest As Boolean
    Get
    Set
'Usage
Dim instance As SPPeoplePickerSearchActiveDirectoryDomain
Dim value As Boolean

value = instance.IsForest

instance.IsForest = value
public bool IsForest { get; set; }

Property Value

Type: System.Boolean
true if the domain is a forest; otherwise, false.

See Also

Reference

SPPeoplePickerSearchActiveDirectoryDomain Class

SPPeoplePickerSearchActiveDirectoryDomain Members

Microsoft.SharePoint.Administration Namespace