IRunningTaskFormsService.TryGetTaskFormManagerHost Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit une valeur qui indique si l'hôte du gestionnaire est en cours d'exécution.
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
Paramètres
- taskFormMoniker
- String
Valeur de chaîne qui représente le moniker actuel du formulaire de tâche.
- context
- IContext
Interface qui présente le contexte du formulaire de tâche.
- host
- ITaskFormManagerHost
Objet qui gère le TaskFormManager.
Retours
true si l'hôte du gestionnaire est en cours d'exécution ; sinon, false.