다음을 통해 공유


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.