ApplicationClass.GetPackageInfos(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.
Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.
public:
virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication130::GetPackageInfos;
public:
virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSApplication150::GetPackageInfos;
[System.Runtime.InteropServices.DispId(6)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100 GetPackageInfos (string bstrPackageFolder, string bstrServerName, string bstrServerUserName, string bstrServerPassword);
[<System.Runtime.InteropServices.DispId(6)>]
abstract member GetPackageInfos : string * string * string * string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
override this.GetPackageInfos : string * string * string * string -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
Public Overridable Function GetPackageInfos (bstrPackageFolder As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As IDTSPackageInfos100
Parameters
- bstrPackageFolder
- String
The logical folder that contains the packages.
- bstrServerName
- String
The name of the SQL Server instance where the packages reside.
- bstrServerUserName
- String
The account name used to log on to the instance of SQL Server.
- bstrServerPassword
- String
The password of the user account.
Returns
A PackageInfos collection.
Implements
- Attributes