共用方式為


SPWebService.ActiveDirectoryOrganizationalUnit property

取得或設定要在其中建立 Active Directory 帳戶的組織單位。

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

Syntax

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

value = instance.ActiveDirectoryOrganizationalUnit

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

Property value

Type: System.String
字串包含組織單位的名稱。

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace