共用方式為


SPEventCollectionSetting.IsEnabled property

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

Syntax

'宣告
Public Property IsEnabled As Boolean
    Get
    Set
'用途
Dim instance As SPEventCollectionSetting
Dim value As Boolean

value = instance.IsEnabled

instance.IsEnabled = value
public bool IsEnabled { get; set; }

Property value

Type: System.Boolean

請參閱

參照

SPEventCollectionSetting class

SPEventCollectionSetting members

Microsoft.SharePoint.Diagnostics namespace