مشاركة عبر


Certificate.Serial Property

Gets the serial number of the certificate.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Serial As String 
    Get
'Usage
Dim instance As Certificate 
Dim value As String 

value = instance.Serial
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Serial { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Serial {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Serial : string
function get Serial () : String

Property Value

Type: System.String
A String value that specifies the serial number of the certificate.

Examples

Using Encryption

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)