WorkflowInstanceManager.GetInstanceCount 메서드 (WorkflowInstanceStatus, String())
특정 상태를 포함하는 모든 워크플로 인스턴스의 수를 검색합니다.
네임스페이스: Microsoft.Workflow.Client
어셈블리: Microsoft.Workflow.Client(Microsoft.Workflow.Client.dll)
구문
‘선언
Public Function GetInstanceCount ( _
workflowStatus As WorkflowInstanceStatus, _
ParamArray activationMetadataFilter As String() _
) As Integer
‘사용 방법
Dim instance As WorkflowInstanceManager
Dim workflowStatus As WorkflowInstanceStatus
Dim activationMetadataFilter As String()
Dim returnValue As Integer
returnValue = instance.GetInstanceCount(workflowStatus, _
activationMetadataFilter)
public int GetInstanceCount(
WorkflowInstanceStatus workflowStatus,
params string[] activationMetadataFilter
)
public:
int GetInstanceCount(
WorkflowInstanceStatus workflowStatus,
... array<String^>^ activationMetadataFilter
)
member GetInstanceCount :
workflowStatus:WorkflowInstanceStatus *
activationMetadataFilter:string[] -> int
public function GetInstanceCount(
workflowStatus : WorkflowInstanceStatus,
... activationMetadataFilter : String[]
) : int
매개 변수
- workflowStatus
유형: Microsoft.Activities.WorkflowInstanceStatus
개수에 포함될 워크플로 인스턴스의 상태입니다.
- activationMetadataFilter
유형: array<System.String[]
개수에 포함될 워크플로 인스턴스의 활성화 메타데이터 필터입니다.
반환 값
유형: System.Int32
인스턴스의 수입니다.