AddServiceKeyEncryption 方法

Adds service key encryption to the master key.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub AddServiceKeyEncryption
用法
Dim instance As MasterKey

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

注释

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

示例

调用方法