SqlCeSyncScopeProvisioning.ScopeExists Method (String)

Indicates whether the specified scope exists in the database by using the connection previously specified in the constructor.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Function ScopeExists ( _
    scopeName As String _
) As Boolean
'Usage
Dim instance As SqlCeSyncScopeProvisioning
Dim scopeName As String
Dim returnValue As Boolean

returnValue = instance.ScopeExists(scopeName)
public bool ScopeExists(
    string scopeName
)
public:
bool ScopeExists(
    String^ scopeName
)
member ScopeExists : 
        scopeName:string -> bool 
public function ScopeExists(
    scopeName : String
) : boolean

Parameters

  • scopeName
    Type: System.String
    The name of the scope to look up.

Return Value

Type: System.Boolean
true if the specified scope exists on the database; otherwise, false.

See Also

Reference

SqlCeSyncScopeProvisioning Class

ScopeExists Overload

Microsoft.Synchronization.Data.SqlServerCe Namespace