WorkflowAssociationCollection.GetByName 方法
擷取關聯名稱的指定工作流程關聯。
命名空間: 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 Function GetByName ( _
name As String _
) As WorkflowAssociation
'用途
Dim instance As WorkflowAssociationCollection
Dim name As String
Dim returnValue As WorkflowAssociation
returnValue = instance.GetByName(name)
public WorkflowAssociation GetByName(
string name
)
參數
name
類型:System.String若要擷取的工作流程關聯的名稱。
傳回值
類型:Microsoft.SharePoint.Client.Workflow.WorkflowAssociation
傳回指定的工作流程關聯的擷取代表關聯名稱WorkflowAssociation執行個體。
備註
集合中的所有工作流程關聯物件必須具備其名稱屬性的唯一值
請參閱
參照
WorkflowAssociationCollection 類別