Método LoadPkgInfoFromSQLServer
Esta API tem suporte para a infraestrutura do .NET Framework e não deve ser usada diretamente do seu código.
Namespace: Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly: Microsoft.SqlServer.Exec80PackageTask (em Microsoft.SqlServer.Exec80PackageTask.dll)
Sintaxe
'Declaração
Public Shared Function LoadPkgInfoFromSQLServer ( _
sServer As String, _
sUser As String, _
sPwd As String, _
bUseTrustedConnection As Boolean, _
returnLatest As Boolean _
) As PackageInfos
'Uso
Dim sServer As String
Dim sUser As String
Dim sPwd As String
Dim bUseTrustedConnection As Boolean
Dim returnLatest As Boolean
Dim returnValue As PackageInfos
returnValue = PackageUtils.LoadPkgInfoFromSQLServer(sServer, _
sUser, sPwd, bUseTrustedConnection, _
returnLatest)
public static PackageInfos LoadPkgInfoFromSQLServer(
string sServer,
string sUser,
string sPwd,
bool bUseTrustedConnection,
bool returnLatest
)
public:
static PackageInfos^ LoadPkgInfoFromSQLServer(
String^ sServer,
String^ sUser,
String^ sPwd,
bool bUseTrustedConnection,
bool returnLatest
)
static member LoadPkgInfoFromSQLServer :
sServer:string *
sUser:string *
sPwd:string *
bUseTrustedConnection:bool *
returnLatest:bool -> PackageInfos
public static function LoadPkgInfoFromSQLServer(
sServer : String,
sUser : String,
sPwd : String,
bUseTrustedConnection : boolean,
returnLatest : boolean
) : PackageInfos
Parâmetros
- sServer
Tipo: System. . :: . .String
- sUser
Tipo: System. . :: . .String
- sPwd
Tipo: System. . :: . .String
- bUseTrustedConnection
Tipo: System. . :: . .Boolean
- returnLatest
Tipo: System. . :: . .Boolean
Valor de retorno
Tipo: PackageInfos
Consulte também