MasterKey.Create 方法 (String)

Creates a master key that has the specified password.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub Create ( _
    encryptionPassword As String _
)
用法
Dim instance As MasterKey 
Dim encryptionPassword As String

instance.Create(encryptionPassword)
public void Create(
    string encryptionPassword
)
public:
void Create(
    String^ encryptionPassword
)
member Create : 
        encryptionPassword:string -> unit
public function Create(
    encryptionPassword : String
)

参数

  • encryptionPassword
    类型:System.String
    A String value that specifies the password with which to encrypt the master key.

示例

调用方法

请参阅

参考

MasterKey 类

Create 重载

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

加密层次结构

CREATE MASTER KEY (Transact-SQL)