SPWorkflowTemplateCollection - Classe

Représente la collection des modèles de flux de travail actuellement déployés sur un site.

Hiérarchie d’héritage

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection

Espace de noms :  Microsoft.SharePoint.Workflow
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ClientCallableTypeAttribute(Name := "WorkflowTemplateCollection", ServerTypeId := "{f64cc3d2-888a-43cc-b579-ef32f83338a4}",  _
    CollectionIndexerMethodClientName := "GetById", CollectionChildItemType := GetType(SPWorkflowTemplate),  _
    SampleUrl := "{apiroot}/web/workflowtemplates")> _
<SubsetCallableTypeAttribute> _
Public Class SPWorkflowTemplateCollection _
    Inherits SPBaseCollection
'Utilisation
Dim instance As SPWorkflowTemplateCollection
[ClientCallableTypeAttribute(Name = "WorkflowTemplateCollection", ServerTypeId = "{f64cc3d2-888a-43cc-b579-ef32f83338a4}", 
    CollectionIndexerMethodClientName = "GetById", CollectionChildItemType = typeof(SPWorkflowTemplate), 
    SampleUrl = "{apiroot}/web/workflowtemplates")]
[SubsetCallableTypeAttribute]
public class SPWorkflowTemplateCollection : SPBaseCollection

Remarques

Chaque objet SPWorkflowTemplate représente un modèle de workflow et contient les membres que vous pouvez utiliser pour obtenir ou définir des informations sur le modèle, telles que les données d'instanciation et les listes de tâches et d'historique pour le modèle.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

SPWorkflowTemplateCollection - Membres

Microsoft.SharePoint.Workflow - Espace de noms

Autres ressources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview