Compartilhar via


Método PackageRemote32Class.PasswordMatch

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Determines whether the specified password matches with the package password.

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

Sintaxe

'Declaração
Public Overridable Function PasswordMatch ( _
    bstrPackagePassword As String _
) As Boolean
'Uso
Dim instance As PackageRemote32Class 
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

Parâmetros

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

Valor de retorno

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

Implementa

IDTSProjectPackage100.PasswordMatch(String)

Consulte também

Referência

PackageRemote32Class Classe

Namespace Microsoft.SqlServer.Dts.Runtime.Wrapper