IDTSProjectPackage100.PasswordMatch 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Determines whether the specified password matches with package password.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Function PasswordMatch ( _
    bstrPackagePassword As String _
) As Boolean
用法
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

参数

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

返回值

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

请参阅

参考

IDTSProjectPackage100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间