共用方式為


DropServiceKeyEncryption 方法

Drops service key encryption from the master key.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub DropServiceKeyEncryption
'用途
Dim instance As MasterKey

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

備註

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

範例

呼叫方法