Regenerate 方法 (String)
Regenerates the database master key by using the specified new password.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub Regenerate ( _
password As String _
)
用法
Dim instance As MasterKey
Dim password As String
instance.Regenerate(password)
public void Regenerate(
string password
)
public:
void Regenerate(
String^ password
)
member Regenerate :
password:string -> unit
public function Regenerate(
password : String
)
参数
- password
类型:System. . :: . .String
A String value that specifies the password with which to encrypt and decrypt the master key.