Share via


IWorkflowService.IsConnected method

Retrieves a Boolean value indicating whether the workflow service is connected to the site collection (SPSite).

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
Function IsConnected ( _
    site As SPSite _
) As Boolean
'Usage
Dim instance As IWorkflowService
Dim site As SPSite
Dim returnValue As Boolean

returnValue = instance.IsConnected(site)
bool IsConnected(
    SPSite site
)

Parameters

Return value

Type: System.Boolean
Returns true if the site is connected to the workflow service; otherwise returns false.

See also

Reference

IWorkflowService interface

IWorkflowService members

Microsoft.SharePoint.WorkflowServices namespace