共用方式為


SPGlobalAdmin.ConfigDatabaseServer property

NOTE: This API is now obsolete.

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

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

Property value

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

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace