Reencrypt 方法
Re-encrypts a database encryption key.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
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
)
參數
- encryptorName
型別:System. . :: . .String
String