Share via


IDTSProjectPackage100.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 package password.

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

Syntax

'Declaration
Function PasswordMatch ( _
    bstrPackagePassword As String _
) As Boolean
'Usage
Dim instance As IDTSProjectPackage100 
Dim bstrPackagePassword As String 
Dim returnValue As Boolean 

returnValue = instance.PasswordMatch(bstrPackagePassword)
bool PasswordMatch(
    string bstrPackagePassword
)
bool PasswordMatch(
    [InAttribute] String^ bstrPackagePassword
)
abstract PasswordMatch : 
        bstrPackagePassword:string -> bool
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 package password; otherwise, false.

See Also

Reference

IDTSProjectPackage100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace