Share via


SymmetricKey.Close Method

Closes the symmetric key.

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

Syntax

'Declaration
Public Sub Close
'Usage
Dim instance As SymmetricKey

instance.Close()
public void Close()
public:
void Close()
member Close : unit -> unit
public function Close()

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)