Share via


SchemaDeploymentConstructor.Setup Method (FileInfo, String)

Prepares the SchemaDeployment object by using the provided source file and target connection string.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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
)

Parameters

  • targetConnectionString
    Type: System.String
    The connection string for the target database.

.NET Framework Security

See Also

Reference

SchemaDeploymentConstructor Class

Setup Overload

Microsoft.Data.Schema.Build Namespace

SchemaDeployment