共用方式為


SPGlobalAdmin.ConfigDatabaseName property

NOTE: This API is now obsolete.

設定資料庫不應直接存取。(在Windows SharePoint Services 2.0, ConfigDatabaseName屬性 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 ConfigDatabaseName As String
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As String

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

Property value

Type: System.String
字串,包含設定資料庫的名稱。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace