Método LoadDTS8Package
Essa API oferece suporte à infraestrutura do e não se destina a ser usada diretamente no seu código.
Namespace: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly: Microsoft.SqlServer.Exec80PackageTask (em Microsoft.SqlServer.Exec80PackageTask.dll)
Sintaxe
'Declaração
Public Shared Function LoadDTS8Package ( _
pkgSrc As String, _
sourceUser As String, _
sourcePwd As String, _
srcType As Integer, _
bUseTrustedConnection As Boolean, _
packageName As String, _
packagePassword As String, _
packageID As String, _
packageVersionGUID As String _
) As Package
'Uso
Dim pkgSrc As String
Dim sourceUser As String
Dim sourcePwd As String
Dim srcType As Integer
Dim bUseTrustedConnection As Boolean
Dim packageName As String
Dim packagePassword As String
Dim packageID As String
Dim packageVersionGUID As String
Dim returnValue As Package
returnValue = PackageUtils.LoadDTS8Package(pkgSrc, _
sourceUser, sourcePwd, srcType, bUseTrustedConnection, _
packageName, packagePassword, packageID, _
packageVersionGUID)
public static Package LoadDTS8Package(
string pkgSrc,
string sourceUser,
string sourcePwd,
int srcType,
bool bUseTrustedConnection,
string packageName,
string packagePassword,
string packageID,
string packageVersionGUID
)
public:
static Package^ LoadDTS8Package(
String^ pkgSrc,
String^ sourceUser,
String^ sourcePwd,
int srcType,
bool bUseTrustedConnection,
String^ packageName,
String^ packagePassword,
String^ packageID,
String^ packageVersionGUID
)
static member LoadDTS8Package :
pkgSrc:string *
sourceUser:string *
sourcePwd:string *
srcType:int *
bUseTrustedConnection:bool *
packageName:string *
packagePassword:string *
packageID:string *
packageVersionGUID:string -> Package
public static function LoadDTS8Package(
pkgSrc : String,
sourceUser : String,
sourcePwd : String,
srcType : int,
bUseTrustedConnection : boolean,
packageName : String,
packagePassword : String,
packageID : String,
packageVersionGUID : String
) : Package
Parâmetros
- pkgSrc
Tipo: System. . :: . .String
- sourceUser
Tipo: System. . :: . .String
- sourcePwd
Tipo: System. . :: . .String
- srcType
Tipo: System. . :: . .Int32
- bUseTrustedConnection
Tipo: System. . :: . .Boolean
- packageName
Tipo: System. . :: . .String
- packagePassword
Tipo: System. . :: . .String
- packageID
Tipo: System. . :: . .String
- packageVersionGUID
Tipo: System. . :: . .String
Valor de retorno
Tipo: Package
Consulte também