Linguaggio

IDTSApplication100.GetPackageInfos(String, String, String, String) Metodo

Definizione

Ottiene una IDTSPackageInfos100 collezione che contiene i pacchetti memorizzati in un'istanza di SQL Server, all'interno della cartella logica specificata, utilizzando nome server, nome utente e password.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSPackageInfos100 ^ GetPackageInfos(System::String ^ bstrPackageFolder, System::String ^ bstrServerName, System::String ^ bstrServerUserName, System::String ^ bstrServerPassword);
[System.Runtime.InteropServices.DispId(6)]
public 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
Public Function GetPackageInfos (bstrPackageFolder As String, bstrServerName As String, bstrServerUserName As String, bstrServerPassword As String) As IDTSPackageInfos100

Parametri

bstrPackageFolder
String

La cartella logica che contiene i pacchetti che vuoi enumerare.

bstrServerName
String

Il nome dell'istanza di SQL Server dove risiedono i pacchetti.

bstrServerUserName
String

Il nome dell'account viene usato per accedere all'istanza di SQL Server, se devi accedere a SQL Server usando l'autenticazione standard. Se stai usando l'autenticazione Windows, usa null.

bstrServerPassword
String

La password dell'account utente, se devi accedere a SQL Server usando l'autenticazione standard. Se stai usando l'autenticazione Windows, usa null.

Valori restituiti

Una IDTSPackageInfos100 collezione che contiene IDTSPackageInfo100 oggetti.

Attributi

Si applica a