共用方式為


SPGlobalAdmin.ConfigDatabase property

NOTE: This API is now obsolete.

設定資料庫不應直接存取。(在Windows SharePoint Services 2.0, ConfigDatabase屬性在SharePoint Foundation部署中,有設定資料庫和維護回溯相容性。)

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 ConfigDatabase As SPConfigDatabase
    Get
'用途
Dim instance As SPGlobalAdmin
Dim value As SPConfigDatabase

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

Property value

Type: Microsoft.SharePoint.Administration.SPConfigDatabase
表示設定資料庫的SPConfigDatabase物件。

請參閱

參照

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace