Share via


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

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