Export (0) Print
Expand All

MasterKey.AddServiceKeyEncryption Method ()


Applies To: SQL Server 2016 Preview

Adds service key encryption to the master key.

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

public void AddServiceKeyEncryption()

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

Legacy Code Example

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft