Partager via


AddServiceKeyEncryption méthode

Adds service key encryption to the master key.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub AddServiceKeyEncryption
'Utilisation
Dim instance As MasterKey

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

Notes

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