Share via


SPPeoplePickerSearchActiveDirectoryDomain.DomainName Property

Gets or sets the Domain Name System (DNS) name of the Active Directory domain or forest.

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

Syntax

'Declaration
Public Property DomainName As String
    Get
    Set
'Usage
Dim instance As SPPeoplePickerSearchActiveDirectoryDomain
Dim value As String

value = instance.DomainName

instance.DomainName = value
public string DomainName { get; set; }

Property Value

Type: System.String
A string that contains the DNS name of the domain or forest, such as exampledomain.com, but not the short domain name.

See Also

Reference

SPPeoplePickerSearchActiveDirectoryDomain Class

SPPeoplePickerSearchActiveDirectoryDomain Members

Microsoft.SharePoint.Administration Namespace