DatabaseEncryptionKey.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
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间