Bagikan melalui


PackageRemote32Class.PasswordMatch Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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 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

Parameters

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

Return Value

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

Implements

IDTSProjectPackage100.PasswordMatch(String)

See Also

Reference

PackageRemote32Class Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace