PackageRemote64Class.PasswordMatch 方法

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

Determines whether the specified password matches with the package password.

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

语法

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

参数

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

返回值

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

实现

IDTSProjectPackage100.PasswordMatch(String)

请参阅

参考

PackageRemote64Class 类

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