Partilhar via


Método AddServiceKeyEncryption

Adds service key encryption to the master key.

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

Sintaxe

'Declaração
Public Sub AddServiceKeyEncryption
'Uso
Dim instance As MasterKey

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

Comentários

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