LoadPkgInfoFromRepository méthode
Cette API prend en charge l'infrastructure .NET Framework et n'est pas destinée à être utilisée directement à partir de votre code.
Espace de noms : Microsoft.SqlServer.Dts.Tasks.Exec80PackageTask
Assembly : Microsoft.SqlServer.Exec80PackageTask (dans Microsoft.SqlServer.Exec80PackageTask.dll)
Syntaxe
'Déclaration
Public Shared Function LoadPkgInfoFromRepository ( _
sServerName As String, _
sDBName As String, _
sUser As String, _
sPwd As String, _
bUseTrustedConnection As Boolean, _
returnLatest As Boolean _
) As PackageInfos
'Utilisation
Dim sServerName As String
Dim sDBName As String
Dim sUser As String
Dim sPwd As String
Dim bUseTrustedConnection As Boolean
Dim returnLatest As Boolean
Dim returnValue As PackageInfos
returnValue = PackageUtils.LoadPkgInfoFromRepository(sServerName, _
sDBName, sUser, sPwd, bUseTrustedConnection, _
returnLatest)
public static PackageInfos LoadPkgInfoFromRepository(
string sServerName,
string sDBName,
string sUser,
string sPwd,
bool bUseTrustedConnection,
bool returnLatest
)
public:
static PackageInfos^ LoadPkgInfoFromRepository(
String^ sServerName,
String^ sDBName,
String^ sUser,
String^ sPwd,
bool bUseTrustedConnection,
bool returnLatest
)
static member LoadPkgInfoFromRepository :
sServerName:string *
sDBName:string *
sUser:string *
sPwd:string *
bUseTrustedConnection:bool *
returnLatest:bool -> PackageInfos
public static function LoadPkgInfoFromRepository(
sServerName : String,
sDBName : String,
sUser : String,
sPwd : String,
bUseTrustedConnection : boolean,
returnLatest : boolean
) : PackageInfos
Paramètres
- sServerName
Type : System. . :: . .String
- sDBName
Type : System. . :: . .String
- sUser
Type : System. . :: . .String
- sPwd
Type : System. . :: . .String
- bUseTrustedConnection
Type : System. . :: . .Boolean
- returnLatest
Type : System. . :: . .Boolean
Valeur de retour
Type : PackageInfos