Partilhar via


LogToHistoryListActivity.EventId Property

Gets or sets the type of event that was raised.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
<ValidationOptionAttribute(ValidationOption.Optional)> _
Public Property EventId As SPWorkflowHistoryEventType
    Get
    Set
'Usage
Dim instance As LogToHistoryListActivity
Dim value As SPWorkflowHistoryEventType

value = instance.EventId

instance.EventId = value
[BrowsableAttribute(true)]
[ValidationOptionAttribute(ValidationOption.Optional)]
public SPWorkflowHistoryEventType EventId { get; set; }

Property Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowHistoryEventType
An identifier (ID) that represents the type of event that was raised.

Examples

LogToHistoryListActivity logWriter = (LogToHistoryListActivity)sender;logWriter.EventId = SPWorkflowHistoryEventType.TaskCreated;

See Also

Reference

LogToHistoryListActivity Class

LogToHistoryListActivity Members

Microsoft.SharePoint.WorkflowActions Namespace