共用方式為


SPAlert.EventType property

取得或設定要套用該警示的事件的型別。

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

Syntax

'宣告
Public Property EventType As SPEventType
    Get
    Set
'用途
Dim instance As SPAlert
Dim value As SPEventType

value = instance.EventType

instance.EventType = value
public SPEventType EventType { get; set; }

Property value

Type: Microsoft.SharePoint.SPEventType
指定的事件有關的警示類型的值。預設值是All

請參閱

參照

SPAlert class

SPAlert members

Microsoft.SharePoint namespace