共用方式為


SPGlobalAdmin.AccountCreationModeEnabled property

NOTE: This API is now obsolete.

使用SPWebService類別之CreateActiveDirectoryAccounts屬性來指定是否而是建立 Active Directory 網域服務帳戶。(在Windows SharePoint Services 2.0, AccountCreationModeEnabled屬性顯示 Active Directory 網域服務的帳戶建立模式是否已啟用,並維護回溯相容性。)

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

Syntax

'宣告
<ObsoleteAttribute("Use SPWebService.ContentService.CreateActiveDirectoryAccounts instead.",  _
    False)> _
Public ReadOnly Property AccountCreationModeEnabled As Boolean
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As Boolean

value = instance.AccountCreationModeEnabled
[ObsoleteAttribute("Use SPWebService.ContentService.CreateActiveDirectoryAccounts instead.", 
    false)]
public bool AccountCreationModeEnabled { get; }

Property value

Type: System.Boolean
true如果已啟用 Active Directory 帳戶建立模式 ;否則,請false。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace