共用方式為


Package.CertificateObject 屬性

Gets or sets the X.509 certificate object for the package.

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

語法

'宣告
<BrowsableAttribute(False)> _
Public Property CertificateObject As X509Certificate 
    Get 
    Set
'用途
Dim instance As Package 
Dim value As X509Certificate 

value = instance.CertificateObject

instance.CertificateObject = value
[BrowsableAttribute(false)]
public X509Certificate CertificateObject { get; set; }
[BrowsableAttribute(false)]
public:
property X509Certificate^ CertificateObject {
    X509Certificate^ get ();
    void set (X509Certificate^ value);
}
[<BrowsableAttribute(false)>]
member CertificateObject : X509Certificate with get, set
function get CertificateObject () : X509Certificate 
function set CertificateObject (value : X509Certificate)

屬性值

型別:System.Security.Cryptography.X509Certificates.X509Certificate
The X.509 certificate object for the package.

備註

The X509Certificate object defines the common language runtime implementation of an X.509 certificate. You must include a reference to the System.Security.Cryptography.X509Certificates assembly.

請參閱

參考

Package 類別

Microsoft.SqlServer.Dts.Runtime 命名空間