Share via


SPWebService.ActiveDirectoryDomain property

Gets or sets the domain in which to create Active Directory accounts.

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

Syntax

'Declaration
Public Property ActiveDirectoryDomain As String
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As String

value = instance.ActiveDirectoryDomain

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

Property value

Type: System.String
A string that contains the name of the domain in which to create Active Directory accounts.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace