Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
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
Show:
© 2015 Microsoft