SPWorkflowAssociationCollection.GetAssociationCore-Methode

Die Workflow-Verknüpfungen mit der angegebenen GUID aus der Auflistung abgerufen.

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

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
)

Parameter

  • associationIdToFetch
    Typ: System.Guid

    Die GUID der Workflowzuordnung.

  • columnCount
    Typ: System.UInt32

    Die Anzahl der Spalten in der Ergebnismenge. Dieser Parameter wird nicht initialisiert übergeben.

  • rowCount
    Typ: System.UInt32

    Die Anzahl der Zeilen in der Ergebnismenge. Dieser Parameter wird nicht initialisiert übergeben.

  • variantAssociation
    Typ: System.Object

    Ein Objekt, das einen Satz von variant Zuordnungen darstellt. Dieser Parameter wird nicht initialisiert übergeben.

Hinweise

Diese Methode ruft Workflowzuordnungen aus der Inhaltsdatenbank die Basisimplementierung für erste Workflowzuordnungen bereitstellen.

Wenn der Parameter ParentWeb Null ist, löst eine ArgumentNullException. Wenn der Workflow manuell gestartet werden kann, aber der Benutzer verfügt nicht über die Berechtigungen, wird eine ArgumentException ausgelöst.

Siehe auch

Referenz

SPWorkflowAssociationCollection Klasse

SPWorkflowAssociationCollection-Member

Microsoft.SharePoint.Workflow-Namespace