다음을 통해 공유


Reencrypt 메서드

Re-encrypts a database encryption key.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Sub Reencrypt ( _
    encryptorName As String, _
    encryptionType As DatabaseEncryptionType _
)
‘사용 방법
Dim instance As DatabaseEncryptionKey
Dim encryptorName As String
Dim encryptionType As DatabaseEncryptionType

instance.Reencrypt(encryptorName, encryptionType)
public void Reencrypt(
    string encryptorName,
    DatabaseEncryptionType encryptionType
)
public:
void Reencrypt(
    String^ encryptorName, 
    DatabaseEncryptionType encryptionType
)
member Reencrypt : 
        encryptorName:string * 
        encryptionType:DatabaseEncryptionType -> unit 
public function Reencrypt(
    encryptorName : String, 
    encryptionType : DatabaseEncryptionType
)