共用方式為


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)
Available in Sandboxed Solutions: No

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