Freigeben über


MasterKey.Create-Methode (String)

Creates a master key that has the specified password.

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

Syntax

'Declaration
Public Sub Create ( _
    encryptionPassword As String _
)
'Usage
Dim instance As MasterKey 
Dim encryptionPassword As String

instance.Create(encryptionPassword)
public void Create(
    string encryptionPassword
)
public:
void Create(
    String^ encryptionPassword
)
member Create : 
        encryptionPassword:string -> unit
public function Create(
    encryptionPassword : String
)

Parameter

  • encryptionPassword
    Typ: System.String
    A String value that specifies the password with which to encrypt the master key.

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

MasterKey Klasse

Create-Überladung

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verschlüsselungshierarchie

CREATE MASTER KEY (Transact-SQL)