PackageClass.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 PackageClass
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)
備註
For more information, see Package.