SymmetricKey.IsOpen 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsOpen As Boolean 
    Get
用法
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

属性值

类型: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.

示例

使用加密

请参阅

参考

SymmetricKey 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE SYMMETRIC KEY (Transact-SQL)