共用方式為


SPServiceInstance.TypeName Property

Gets the display name that describes the service 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 TypeName As String
    Get
'Usage
Dim instance As SPServiceInstance
Dim value As String

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

Property Value

Type: System.String
A string that contains the name of the service instance.

See Also

Reference

SPServiceInstance Class

SPServiceInstance Members

Microsoft.SharePoint.Administration Namespace