SqlCeSyncScopeProvisioning.ScopeExists Method
Returns whether the specified scope exists.
Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)
Syntax
'Declaration
Public Function ScopeExists ( _
scopeName As String, _
connection As SqlCeConnection _
) As Boolean
'Usage
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
Parameters
- scopeName
The name of the scope to check.
- connection
A SqlCeConnection object that contains a connection to the database.
See Also
Reference
SqlCeSyncScopeProvisioning Class
SqlCeSyncScopeProvisioning Members
Microsoft.Synchronization.Data.SqlServerCe Namespace