Partilhar via


Método SchemaDeploymentConstructor.Setup (FileInfo, String)

Prepara o SchemaDeployment o objeto usando o código-fonte fornecido arquivo e destino conexão cadeia de caracteres.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • targetConnectionString
    Tipo: System.String
    A seqüência de conexão do banco de dados de destino.

Segurança do .NET Framework

Consulte também

Referência

SchemaDeploymentConstructor Classe

Sobrecargas Setup

Namespace Microsoft.Data.Schema.Build

SchemaDeployment