Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Gets a IDTSPackageInfos100 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.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Function GetPackageInfos ( _
bstrPackageFolder As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
) As IDTSPackageInfos100
'Usage
Dim instance As IDTSApplication100
Dim bstrPackageFolder As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As IDTSPackageInfos100
returnValue = instance.GetPackageInfos(bstrPackageFolder, _
bstrServerName, bstrServerUserName, _
bstrServerPassword)
IDTSPackageInfos100 GetPackageInfos(
string bstrPackageFolder,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
IDTSPackageInfos100^ GetPackageInfos(
[InAttribute] String^ bstrPackageFolder,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract GetPackageInfos :
bstrPackageFolder:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> IDTSPackageInfos100
function GetPackageInfos(
bstrPackageFolder : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
) : IDTSPackageInfos100
Parameter
- bstrPackageFolder
Typ: System.String
The logical folder that contains the packages you want to enumerate.
- bstrServerName
Typ: System.String
The name of the SQL Server instance where the packages reside.
- bstrServerUserName
Typ: System.String
The account name used to log on to the instance of SQL Server, if you need to log in to SQL Server using standard authentication. If you are using Windows Authentication, use nullein NULL-Verweis (Nothing in Visual Basic).
- bstrServerPassword
Typ: System.String
The password of the user account, if you need to log in to SQL Server using standard authentication. If you are using Windows Authentication, use nullein NULL-Verweis (Nothing in Visual Basic).
Rückgabewert
Typ: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackageInfos100
A IDTSPackageInfos100 collection that contains IDTSPackageInfo100 objects.