Partager via


Méthode PackageClass.PasswordMatch

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Determines whether the specified password matches with the package password.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Function PasswordMatch ( _
    bstrPackagePassword As String _
) As Boolean
'Utilisation
Dim instance As PackageClass 
Dim bstrPackagePassword As String 
Dim returnValue As Boolean 

returnValue = instance.PasswordMatch(bstrPackagePassword)
public virtual bool PasswordMatch(
    string bstrPackagePassword
)
public:
virtual bool PasswordMatch(
    [InAttribute] String^ bstrPackagePassword
)
abstract PasswordMatch : 
        bstrPackagePassword:string -> bool  
override PasswordMatch : 
        bstrPackagePassword:string -> bool
public function PasswordMatch(
    bstrPackagePassword : String
) : boolean

Paramètres

  • bstrPackagePassword
    Type : System.String
    The password to match with the package password.

Valeur de retour

Type : System.Boolean
true if the specified password matches with the package password; otherwise, false.

Implémente

IDTSProjectPackage100.PasswordMatch(String)

Notes

For more information, see Package.

Voir aussi

Référence

PackageClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper