Share via


Package.CertificateObject Property

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
<BrowsableAttribute(False)> _
Public Property CertificateObject As X509Certificate 
    Get 
    Set
'Usage
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)

Property Value

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

Remarks

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.

See Also

Reference

Package Class

Microsoft.SqlServer.Dts.Runtime Namespace