次の方法で共有


Export メソッド

サービス マスタ キーを、指定したパスワードと共に、指定したシステム パスの場所に保存します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Sub Export ( _
    path As String, _
    password As String _
)
'使用
Dim instance As ServiceMasterKey
Dim path As String
Dim password As String

instance.Export(path, password)
public void Export(
    string path,
    string password
)
public:
void Export(
    String^ path, 
    String^ password
)
member Export : 
        path:string * 
        password:string -> unit 
public function Export(
    path : String, 
    password : String
)

パラメーター

  • path
    型: System. . :: . .String
    サービス マスタ キーの保存先ファイルのシステム パスの場所を示す String 値です。
  • password
    型: System. . :: . .String
    サービス マスタ キーの暗号化と暗号化解除に使用するパスワードを示す String 値です。

使用例

暗号化の使用