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