共用方式為


SPGlobalAdmin.ConfigDatabaseUser property

NOTE: This API is now obsolete.

設定資料庫不應直接存取。(在Windows SharePoint Services 2.0, ConfigDatabaseUser屬性的設定資料庫、 got 管理員帳戶的使用者名稱和維護回溯相容性。)

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

Syntax

'宣告
<ObsoleteAttribute("The configuration database should not be accessed directly.",  _
    False)> _
Public ReadOnly Property ConfigDatabaseUser As String
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As String

value = instance.ConfigDatabaseUser
[ObsoleteAttribute("The configuration database should not be accessed directly.", 
    false)]
public string ConfigDatabaseUser { get; }

Property value

Type: System.String
包含的系統管理員帳戶的使用者名稱的字串。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace