SqlSyncScopeProvisioning.ScopeExists Method (String)

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

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

Syntax

'Declaration
Public Function ScopeExists ( _
    scopeName As String _
) As Boolean
'Usage
Dim instance As SqlSyncScopeProvisioning
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 in the database; otherwise, false.

See Also

Reference

SqlSyncScopeProvisioning Class

ScopeExists Overload

Microsoft.Synchronization.Data.SqlServer Namespace