共用方式為


SPServiceInstance.Hidden property

取得 Boolean 值,指出是否在使用者介面中顯示的服務執行個體。

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

Syntax

'宣告
Public Overridable ReadOnly Property Hidden As Boolean
    Get
'用途
Dim instance As SPServiceInstance
Dim value As Boolean

value = instance.Hidden
public virtual bool Hidden { get; }

Property value

Type: System.Boolean
true服務執行個體顯示在使用者介面 ; 如果否則,請false。

請參閱

參照

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace