共用方式為


IDTSPackage100.LoadUserCertificateByHash 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Loads the certificate for the package according to the certificate hash.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Sub LoadUserCertificateByHash ( _
    ByRef ppsaCertHash As Byte() _
)
'用途
Dim instance As IDTSPackage100 
Dim ppsaCertHash As Byte()

instance.LoadUserCertificateByHash(ppsaCertHash)
void LoadUserCertificateByHash(
    ref byte[] ppsaCertHash
)
void LoadUserCertificateByHash(
    [InAttribute] array<unsigned char>^% ppsaCertHash
)
abstract LoadUserCertificateByHash : 
        ppsaCertHash:byte[] byref -> unit
function LoadUserCertificateByHash(
    ppsaCertHash : byte[]
)

參數

  • ppsaCertHash
    型別:array<System.Byte[]%
    A byte array that contains the hash of the certificate for the package.

備註

This interface is implemented by the Package and PackageNeutral interfaces.

請參閱

參考

IDTSPackage100 介面

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