MasterKey.DropServiceKeyEncryption Method

Drops service key encryption from the master key.

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

Syntax

'Declaration
Public Sub DropServiceKeyEncryption
'Usage
Dim instance As MasterKey

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

Remarks

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

Examples

Calling Methods