SymmetricKey.IsOpen Property

Gets the Boolean property value that specifies whether the symmetric key is open.

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

Syntax

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

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

Property Value

Type: System.Boolean
A Boolean value that specifies whether the symmetric key is open.If True, the symmetric key is open.If False (default), the symmetric key is closed.

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)