Partilhar via


Método SqlCeSyncScopeProvisioning.ScopeExists

Retorna se o escopo especificado existe.

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

Sintaxe

'Declaração
Public Function ScopeExists ( _
    scopeName As String, _
    connection As SqlCeConnection _
) As Boolean
'Uso
Dim instance As SqlCeSyncScopeProvisioning
Dim scopeName As String
Dim connection As SqlCeConnection
Dim returnValue As Boolean

returnValue = instance.ScopeExists(scopeName, connection)
public bool ScopeExists (
    string scopeName,
    SqlCeConnection connection
)
public:
bool ScopeExists (
    String^ scopeName, 
    SqlCeConnection^ connection
)
public boolean ScopeExists (
    String scopeName, 
    SqlCeConnection connection
)
public function ScopeExists (
    scopeName : String, 
    connection : SqlCeConnection
) : boolean

Parâmetros

  • scopeName
    O nome do escopo a ser verificado.
  • connection
    Um objeto SqlCeConnection que contém uma conexão com o banco de dados.

Consulte também

Referência

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