Freigeben über


SymmetricKey.IsOpen-Eigenschaft

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

Eigenschaftswert

Typ: 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.

Beispiele

Verwenden der Verschlüsselung

Siehe auch

Verweis

SymmetricKey Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verschlüsselungshierarchie

CREATE SYMMETRIC KEY (Transact-SQL)