SPWorkflowAssociation.Name property

Gets or sets the name of the workflow association.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As String

value = instance.Name

instance.Name = value
[ClientCallableAttribute]
public string Name { get; set; }

Property value

Type: System.String
A String that contains the name of the workflow association.

Exceptions

Exception Condition
ArgumentNullException

The value set is a null reference (Nothing in Visual Basic).

ArgumentException

The value set consists completely of white space.

Remarks

The value of the Name property is used to represent the workflow association in the user interface. Any string that is longer than 255 characters is truncated.

See also

Reference

SPWorkflowAssociation class

SPWorkflowAssociation members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview