SPWorkflowTemplateCollection class
Representa a coleção de modelos de fluxo de trabalho atualmente implantado em um site.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.Workflow.SPWorkflowTemplateCollection
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
<ClientCallableTypeAttribute(Name := "WorkflowTemplateCollection", ServerTypeId := "{f64cc3d2-888a-43cc-b579-ef32f83338a4}", _
CollectionIndexerMethodClientName := "GetById", CollectionChildItemType := GetType(SPWorkflowTemplate), _
SampleUrl := "{apiroot}/web/workflowtemplates")> _
<SubsetCallableTypeAttribute> _
Public Class SPWorkflowTemplateCollection _
Inherits SPBaseCollection
'Uso
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
Comentários
Cada objeto SPWorkflowTemplate representa um modelo de fluxo de trabalho e contém membros que você pode usar para obter ou definir informações sobre o modelo, como os dados de instanciação e as listas de tarefa e de histórico para o modelo.
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Ver também
Referência
SPWorkflowTemplateCollection members
Microsoft.SharePoint.Workflow namespace
Outros recursos
Workflows in Windows SharePoint Services
Workflow Development for Windows SharePoint Services
Workflow Object Model in Windows SharePoint Services Overview