Compartilhar 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)
Available in Sandboxed Solutions: No

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