Share via


MasterKey.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.

메서드 호출

참고 항목

참조

MasterKey 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

암호화 계층

CREATE MASTER KEY(Transact-SQL)