共用方式為


SPDatabaseServiceInstance.DisplayName Property

Gets the display name that is used to describe the instance in the administration user interface.

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

Syntax

'Declaration
Public Overrides ReadOnly Property DisplayName As String
    Get
'Usage
Dim instance As SPDatabaseServiceInstance
Dim value As String

value = instance.DisplayName
public override string DisplayName { get; }

Property Value

Type: System.String
A string that contains the display name.

See Also

Reference

SPDatabaseServiceInstance Class

SPDatabaseServiceInstance Members

Microsoft.SharePoint.Administration Namespace