共用方式為


SPWebService.ActiveDirectoryDomain property

取得或設定要在其中建立 Active Directory 帳戶的網域。

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

Syntax

'宣告
Public Property ActiveDirectoryDomain As String
    Get
    Set
'用途
Dim instance As SPWebService
Dim value As String

value = instance.ActiveDirectoryDomain

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

Property value

Type: System.String
包含要在其中建立 Active Directory 帳戶的網域名稱的字串。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace