ApplicationClass.ExistsOnSQLServer(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the specified package exists on the instance of 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
Parameters
- bstrPackagePath
- String
The package you are looking for.
- bstrServerName
- String
The name of the instance of SQL Server to search for the package.
- bstrServerUserName
- String
The user name to authenticate against the instance of SQL Server.
- bstrServerPassword
- String
The password for the specified bstrServerUserName
.
Returns
true if the package exists on the specified instance of SQL Server. false if the package does not exist
Implements
- Attributes