IRunningTaskFormsService.TryGetTaskFormManagerHost Method

Definition

Sets a value indicating whether the manager host is running.

public:
 bool TryGetTaskFormManagerHost(System::String ^ taskFormMoniker, Microsoft::SqlServer::Management::Data::IContext ^ context, [Runtime::InteropServices::Out] Microsoft::SqlServer::Management::TaskForms::ITaskFormManagerHost ^ % host);
public bool TryGetTaskFormManagerHost (string taskFormMoniker, Microsoft.SqlServer.Management.Data.IContext context, out Microsoft.SqlServer.Management.TaskForms.ITaskFormManagerHost host);
abstract member TryGetTaskFormManagerHost : string * Microsoft.SqlServer.Management.Data.IContext * ITaskFormManagerHost -> bool
Public Function TryGetTaskFormManagerHost (taskFormMoniker As String, context As IContext, ByRef host As ITaskFormManagerHost) As Boolean

Parameters

taskFormMoniker
String

A string value that represents the current moniker of the task form.

context
IContext

An interface that shows the context of the task form.

host
ITaskFormManagerHost

An object that manages the TaskFormManager.

Returns

true if the manager host is running; otherwise, false.

Applies to