WorkflowSubscription.StatusFieldName property

Gets or sets the name of the workflow status field on the specified list.

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

Syntax

'Declaration
<ClientCallablePropertyAttribute> _
Public Property StatusFieldName As String
    Get
    Set
'Usage
Dim instance As WorkflowSubscription
Dim value As String

value = instance.StatusFieldName

instance.StatusFieldName = value
[ClientCallablePropertyAttribute]
public string StatusFieldName { get; set; }

Property value

Type: System.String
Returns the name of the status field.

Remarks

This property is only used on List workflows. If the value is a null reference (Nothing in Visual Basic) or an empty string, a new status field is created on the specified list when you call PublishSubscriptionForList(WorkflowSubscription, Guid) and this property value is set to the internal name of the new field.

See also

Reference

WorkflowSubscription class

WorkflowSubscription members

Microsoft.SharePoint.WorkflowServices namespace