WorkflowAssociationCollection.GetById 方法

按关联 ID 检索指定的工作流关联。

命名空间:  Microsoft.SharePoint.Client.Workflow
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Overridable Function GetById ( _
    associationId As Guid _
) As WorkflowAssociation
用法
Dim instance As WorkflowAssociationCollection
Dim associationId As Guid
Dim returnValue As WorkflowAssociation

returnValue = instance.GetById(associationId)
public virtual WorkflowAssociation GetById(
    Guid associationId
)

参数

  • associationId
    类型:System.Guid

    表示与特定列表或内容类型的工作流模板关联。

返回值

类型:Microsoft.SharePoint.Client.Workflow.WorkflowAssociation
返回表示关联 id 指定的工作流关联的检索WorkflowAssociation实例

备注

每个工作流关联必须唯一 GUID。

另请参阅

引用

WorkflowAssociationCollection 类

WorkflowAssociationCollection 成员

Microsoft.SharePoint.Client.Workflow 命名空间