Share via


SqlCeSyncScopeProvisioning Constructor (DbSyncScopeDescription)

Note: This API is now obsolete.

Initializes a new instance of the SqlCeSyncScopeProvisioning class for the specified scope.

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

Syntax

'Declaration
<ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")> _
Public Sub New ( _
    scopeDescription As DbSyncScopeDescription _
)
'Usage
Dim scopeDescription As DbSyncScopeDescription

Dim instance As New SqlCeSyncScopeProvisioning(scopeDescription)
[ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")]
public SqlCeSyncScopeProvisioning(
    DbSyncScopeDescription scopeDescription
)
[ObsoleteAttribute(L"Use a constructor that passes in a SqlCeConnection")]
public:
SqlCeSyncScopeProvisioning(
    DbSyncScopeDescription^ scopeDescription
)
[<ObsoleteAttribute("Use a constructor that passes in a SqlCeConnection")>]
new : 
        scopeDescription:DbSyncScopeDescription -> SqlCeSyncScopeProvisioning
public function SqlCeSyncScopeProvisioning(
    scopeDescription : DbSyncScopeDescription
)

Parameters

Exceptions

Exception Condition
DbProvisioningException

scopeDescription is null reference (Nothing in Visual Basic).

See Also

Reference

SqlCeSyncScopeProvisioning Class

SqlCeSyncScopeProvisioning Overload

Microsoft.Synchronization.Data.SqlServerCe Namespace