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.