Share via


SPGlobalAdmin.ConfigDatabaseServer property

NOTE: This API is now obsolete.

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

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace