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
- sourceSchemaFile
Type: System.IO.FileInfo
A FileInfo for the source database file.
- targetConnectionString
Type: System.String
The connection string for the target database.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
SchemaDeploymentConstructor Class