次の方法で共有


SchemaDeploymentConstructor.Setup メソッド (FileInfo, String)

指定されたソース ファイルとターゲット接続文字列を使用して、SchemaDeployment オブジェクトを準備します。

名前空間:  Microsoft.Data.Schema.Build
アセンブリ:  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Sub Setup ( _
    sourceSchemaFile As FileInfo, _
    targetConnectionString As String _
)
public void Setup(
    FileInfo sourceSchemaFile,
    string targetConnectionString
)
public:
void Setup(
    FileInfo^ sourceSchemaFile, 
    String^ targetConnectionString
)
member Setup : 
        sourceSchemaFile:FileInfo * 
        targetConnectionString:string -> unit 
public function Setup(
    sourceSchemaFile : FileInfo, 
    targetConnectionString : String
)

パラメーター

  • targetConnectionString
    型: System.String
    ターゲット データベースへの接続文字列。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

SchemaDeploymentConstructor クラス

Setup オーバーロード

Microsoft.Data.Schema.Build 名前空間

SchemaDeployment