Certificate.Sid Property

Gets the logon security identifier (SID) for the certificate.

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

Syntax

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

value = instance.Sid
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public byte[] Sid { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property array<unsigned char>^ Sid {
    array<unsigned char>^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Sid : byte[]
function get Sid () : byte[]

Property Value

Type: array<System.Byte[]
A String value that specifies the logon SID for the certificate.

Examples

Using Encryption

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE CERTIFICATE (Transact-SQL)