Sdílet prostřednictvím


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> _
Public ReadOnly Property Serial As String
    Get
'Usage
Dim instance As Certificate
Dim value As String

value = instance.Serial
[SfcPropertyAttribute]
public string Serial { get; }
[SfcPropertyAttribute]
public:
property String^ Serial {
    String^ get ();
}
[<SfcPropertyAttribute>]
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