SPWorkflowAssociationCollection.GetAssociationCore Method
Gets the workflow associations with specified GUID from the collection.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMemberOutParam)> _
Protected Sub GetAssociationCore ( _
associationIdToFetch As Guid, _
<OutAttribute> ByRef columnCount As UInteger, _
<OutAttribute> ByRef rowCount As UInteger, _
<OutAttribute> ByRef variantAssociation As Object _
)
'Usage
Dim associationIdToFetch As Guid
Dim columnCount As UInteger
Dim rowCount As UInteger
Dim variantAssociation As Object
Me.GetAssociationCore(associationIdToFetch, _
columnCount, rowCount, variantAssociation)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMemberOutParam)]
protected void GetAssociationCore(
Guid associationIdToFetch,
out uint columnCount,
out uint rowCount,
out Object variantAssociation
)
Parameters
associationIdToFetch
Type: System.GuidThe GUID of the workflow association.
columnCount
Type: System.UInt32The number of columns in the result. This parameter is passed uninitialized.
rowCount
Type: System.UInt32The number of rows in the result. This parameter is passed uninitialized.
variantAssociation
Type: System.ObjectAn object that represents a set of the variant associations. This parameter is passed uninitialized.
Remarks
This method gets workflow associations from the content database to provide the core implementation for getting workflow associations.
If the ParentWeb parameter is null , throws an ArgumentNullException. If the workflow can be started manually but the user does not have permissions, an ArgumentException is thrown.
See Also
Reference
SPWorkflowAssociationCollection Class