Freigeben über


MasterKey.AddServiceKeyEncryption-Methode

Adds service key encryption to the master key.

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

Syntax

'Declaration
Public Sub AddServiceKeyEncryption
'Usage
Dim instance As MasterKey

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

Hinweise

The IsEncryptedByServer property specifies whether the master key is encrypted by the service master key or by using a password.

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

MasterKey Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Verschlüsselungshierarchie

CREATE MASTER KEY (Transact-SQL)