ApplicationClass.ExistsOnSQLServer(String, String, String, String) Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Indica si el paquete especificado ya existe en la instancia de SQL Server.
public:
virtual bool ExistsOnSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::ExistsOnSQLServer;
public:
virtual bool ExistsOnSQLServer(System::String ^ bstrPackagePath, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::ExistsOnSQLServer;
[System.Runtime.InteropServices.DispId(15)]
public virtual bool ExistsOnSQLServer (string bstrPackagePath, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member ExistsOnSQLServer : string * string * string * string -> bool
override this.ExistsOnSQLServer : string * string * string * string -> bool
Public Overridable Function ExistsOnSQLServer (bstrPackagePath As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As Boolean
Parámetros
- bstrPackagePath
- String
El paquete que está buscando.
- bstrServerName
- String
Nombre de la instancia de SQL Server en la que se busca el paquete.
- bstrServerUserName
- String
Nombre de usuario para autenticarse con la instancia de SQL Server.
- bstrServerPassword
- String
La contraseña de la cuenta bstrServerUserName
especificada.
Devoluciones
True si el paquete existe en la instancia especificada de SQL Server. false si el paquete no existe
Implementaciones
- Atributos