共用方式為


SPServiceInstance.TypeName property

取得說明管理使用者介面中的服務執行個體的顯示名稱。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overrides ReadOnly Property TypeName As String
    Get
'用途
Dim instance As SPServiceInstance
Dim value As String

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

Property value

Type: System.String
字串,包含服務執行個體名稱。

請參閱

參照

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace