共用方式為


SPConfigDatabase.Name Property

Obsolete. Gets the name of the configuration database in Microsoft SQL Server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPConfigDatabase
Dim value As String

value = instance.Name
public string Name { get; }

Property Value

Type: System.String
A string that contains the name of the configuration database.

See Also

Reference

SPConfigDatabase Class

SPConfigDatabase Members

Microsoft.SharePoint.Administration Namespace