共用方式為


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
)

參數

範例

呼叫方法