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> _
Public ReadOnly Property KeyGuid As Guid
    Get
'Usage
Dim instance As SymmetricKey
Dim value As Guid

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