Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NOTE: This API is now obsolete.
The configuration database should not be accessed directly. (In Windows SharePoint Services 2.0, the ConfigDatabase property got the configuration database in the SharePoint Foundation deployment, and is maintained for backward compatibility.)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("The configuration database should not be accessed directly.", _
False)> _
Public ReadOnly Property ConfigDatabase As SPConfigDatabase
Get
'Usage
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
An SPConfigDatabase object that represents the configuration database.