Share via


SymmetricKey.Open Method

Opens the symmetric key.

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

Syntax

'Declaration
Public Sub Open ( _
    password As String _
)
'Usage
Dim instance As SymmetricKey 
Dim password As String

instance.Open(password)
public void Open(
    string password
)
public:
void Open(
    String^ password
)
member Open : 
        password:string -> unit
public function Open(
    password : String
)

Parameters

  • password
    Type: System.String
    A String value that specifies the password required to open the symmetric key.

Examples

Using Encryption

See Also

Reference

SymmetricKey Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Encryption Hierarchy

CREATE SYMMETRIC KEY (Transact-SQL)

OPEN SYMMETRIC KEY (Transact-SQL)