Compartilhar via


Construtor SqlCeClientSyncProvider (String, Boolean)

Inicializa uma nova instância da classe SqlCeClientSyncProvider usando parâmetros de cadeia de conexão e de criação de banco de dados.

Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (em microsoft.synchronization.data.sqlserverce.dll)

Sintaxe

'Declaração
Public Sub New ( _
    connectionString As String, _
    createDbIfNotExists As Boolean _
)
'Uso
Dim connectionString As String
Dim createDbIfNotExists As Boolean

Dim instance As New SqlCeClientSyncProvider(connectionString, createDbIfNotExists)
public SqlCeClientSyncProvider (
    string connectionString,
    bool createDbIfNotExists
)
public:
SqlCeClientSyncProvider (
    String^ connectionString, 
    bool createDbIfNotExists
)
public SqlCeClientSyncProvider (
    String connectionString, 
    boolean createDbIfNotExists
)
public function SqlCeClientSyncProvider (
    connectionString : String, 
    createDbIfNotExists : boolean
)

Parâmetros

  • connectionString
    A cadeia de caracteres usada para estabelecer conexão com o banco de dados do SQL Server Compact.
  • createDbIfNotExists

Consulte também

Referência

Classe SqlCeClientSyncProvider
Membros SqlCeClientSyncProvider
Namespace Microsoft.Synchronization.Data.SqlServerCe