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)

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