Méthode ExistsOnSQLServer
Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.
For more information, see ApplicationClass.
Espace de noms : Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly : Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntaxe
'Déclaration
Function ExistsOnSQLServer ( _
bstrPackagePath As String, _
bstrServerName As String, _
bstrServerUserName As String, _
bstrServerPassword As String _
) As Boolean
'Utilisation
Dim instance As IDTSApplication100
Dim bstrPackagePath As String
Dim bstrServerName As String
Dim bstrServerUserName As String
Dim bstrServerPassword As String
Dim returnValue As Boolean
returnValue = instance.ExistsOnSQLServer(bstrPackagePath, _
bstrServerName, bstrServerUserName, _
bstrServerPassword)
bool ExistsOnSQLServer(
string bstrPackagePath,
string bstrServerName,
string bstrServerUserName,
string bstrServerPassword
)
bool ExistsOnSQLServer(
[InAttribute] String^ bstrPackagePath,
[InAttribute] String^ bstrServerName,
[InAttribute] String^ bstrServerUserName,
[InAttribute] String^ bstrServerPassword
)
abstract ExistsOnSQLServer :
bstrPackagePath:string *
bstrServerName:string *
bstrServerUserName:string *
bstrServerPassword:string -> bool
function ExistsOnSQLServer(
bstrPackagePath : String,
bstrServerName : String,
bstrServerUserName : String,
bstrServerPassword : String
) : boolean
Paramètres
- bstrPackagePath
Type : System. . :: . .String
- bstrServerName
Type : System. . :: . .String
- bstrServerUserName
Type : System. . :: . .String
- bstrServerPassword
Type : System. . :: . .String
Valeur de retour
Type : System. . :: . .Boolean
Voir aussi