Share via


SPGlobalAdmin.ConfigDatabaseName property

NOTE: This API is now obsolete.

The configuration database should not be accessed directly. (In Windows SharePoint Services 2.0, the ConfigDatabaseName property got the name of the configuration database, 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 ConfigDatabaseName As String
    Get
'Usage
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
A string that contains the name of the configuration database.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace