SPWorkflowAssociationCollection.GetAssociationByBaseID-Methode
Gibt die Workflowzuordnung auf Grundlage der Workflow-Vorlage.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function GetAssociationByBaseID ( _
baseTemplateId As Guid _
) As SPWorkflowAssociation
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim baseTemplateId As Guid
Dim returnValue As SPWorkflowAssociation
returnValue = instance.GetAssociationByBaseID(baseTemplateId)
public SPWorkflowAssociation GetAssociationByBaseID(
Guid baseTemplateId
)
Parameter
baseTemplateId
Typ: System.GuidDie Workflow-Vorlagen-ID auf dem gewünschten Workflowzuordnung basiert.
Rückgabewert
Typ: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
Ein SPWorkflowAssociation -Objekt, das die angegebene Workflowzuordnung darstellt.
Hinweise
Diese Methode gibt basierte auf der Workflow-Vorlagen-ID durch den baseTemplateId -Parameter angegebene Workflow-Zuordnung.
Siehe auch
Referenz
SPWorkflowAssociationCollection Klasse