ScriptFactory.ScheduleSqlScriptAsOneStep 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.
Active la boîte de dialogue de planification et crée un travail avec une étape Transact-SQL correspondant au texte spécifié.
Surcharges
| Nom | Description |
|---|---|
| ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IWin32Window) |
Active la boîte de dialogue de planification et crée un travail avec une étape Transact-SQL correspondant au texte spécifié. |
| ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IServiceProvider, IWin32Window) |
Active la boîte de dialogue de planification et crée un travail avec une étape Transact-SQL correspondant au texte spécifié. |
ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IWin32Window)
Active la boîte de dialogue de planification et crée un travail avec une étape Transact-SQL correspondant au texte spécifié.
public:
virtual System::Windows::Forms::DialogResult ScheduleSqlScriptAsOneStep(System::String ^ text, Microsoft::SqlServer::Management::Common::SqlConnectionInfo ^ ci, System::Windows::Forms::IWin32Window ^ parentWindow);
public System.Windows.Forms.DialogResult ScheduleSqlScriptAsOneStep(string text, Microsoft.SqlServer.Management.Common.SqlConnectionInfo ci, System.Windows.Forms.IWin32Window parentWindow);
abstract member ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function ScheduleSqlScriptAsOneStep (text As String, ci As SqlConnectionInfo, parentWindow As IWin32Window) As DialogResult
Paramètres
- text
- String
Une valeur de chaîne contenant le texte en script.
Objet SqlConnectionInfo.
- parentWindow
- IWin32Window
Objet parent IWin32Window .
Retours
Objet DialogResult.
Implémente
S’applique à
ScheduleSqlScriptAsOneStep(String, SqlConnectionInfo, IServiceProvider, IWin32Window)
Active la boîte de dialogue de planification et crée un travail avec une étape Transact-SQL correspondant au texte spécifié.
public:
virtual System::Windows::Forms::DialogResult ScheduleSqlScriptAsOneStep(System::String ^ text, Microsoft::SqlServer::Management::Common::SqlConnectionInfo ^ ci, IServiceProvider ^ serviceProvider, System::Windows::Forms::IWin32Window ^ parentWindow);
public System.Windows.Forms.DialogResult ScheduleSqlScriptAsOneStep(string text, Microsoft.SqlServer.Management.Common.SqlConnectionInfo ci, IServiceProvider serviceProvider, System.Windows.Forms.IWin32Window parentWindow);
abstract member ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * IServiceProvider * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
override this.ScheduleSqlScriptAsOneStep : string * Microsoft.SqlServer.Management.Common.SqlConnectionInfo * IServiceProvider * System.Windows.Forms.IWin32Window -> System.Windows.Forms.DialogResult
Public Function ScheduleSqlScriptAsOneStep (text As String, ci As SqlConnectionInfo, serviceProvider As IServiceProvider, parentWindow As IWin32Window) As DialogResult
Paramètres
- text
- String
Une valeur de chaîne contenant le texte en script.
Objet SqlConnectionInfo.
- serviceProvider
- IServiceProvider
Objet IServiceProvider.
- parentWindow
- IWin32Window
Objet parent IWin32Window .
Retours
Objet DialogResult.