Share via


SymmetricKey.KeyGuid Property

Get the GUID value that uniquely identifies the symmetric key globally.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property KeyGuid As Guid
    Get
'Usage
Dim instance As SymmetricKey
Dim value As Guid

value = instance.KeyGuid
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public Guid KeyGuid { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property Guid KeyGuid {
    Guid get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member KeyGuid : Guid
function get KeyGuid () : Guid

Property Value

Type: System.Guid
A Guid system object value that specifies the GUID that uniquely identifies the symmetric key globally.

Examples

Using Encryption