Freigeben über


PackageClass.PasswordMatch-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Determines whether the specified password matches with the package password.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Function PasswordMatch ( _
    bstrPackagePassword As String _
) As Boolean
'Usage
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

Parameter

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

Rückgabewert

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

Implementiert

IDTSProjectPackage100.PasswordMatch(String)

Hinweise

For more information, see Package.

Siehe auch

Verweis

PackageClass Klasse

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace