共用方式為


SPUsageDefinition.Enabled property

取得或設定值,指定使用量記錄是否已啟用對這個型別。

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

Syntax

'宣告
Public Overridable Property Enabled As Boolean
    Get
    Set
'用途
Dim instance As SPUsageDefinition
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public virtual bool Enabled { get; set; }

Property value

Type: System.Boolean
傳回Boolean值,指出是否已啟用使用量記錄。

請參閱

參照

SPUsageDefinition class

SPUsageDefinition members

Microsoft.SharePoint.Administration namespace