共用方式為


SPAuditEntry.Event property

取得一個值,會識別事件的類型。

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

Syntax

'宣告
Public ReadOnly Property Event As SPAuditEventType
    Get
'用途
Dim instance As SPAuditEntry
Dim value As SPAuditEventType

value = instance.Event
public SPAuditEventType Event { get; }

Property value

Type: Microsoft.SharePoint.SPAuditEventType
SPAuditEventType 所代表之事件的類型。

備註

EventSharePoint Foundation部署在具有值SPAuditEventType.Custom的自訂事件。使用EventName區別不同種類的自訂事件。

請參閱

參照

SPAuditEntry class

SPAuditEntry members

Microsoft.SharePoint namespace