Export (0) Print
Expand All

SqlCeSyncDescriptionBuilder.GetDescriptionForScope Method (String, String, )

Returns a DbSyncScopeDescription object that contains information about the specified scope that is defined for a SQL Server Compact database.

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

public static DbSyncScopeDescription GetDescriptionForScope(
	string scopeName,
	string objectPrefix,
	SqlCeConnection connection
)

Parameters

scopeName
Type: System.String
The name of the scope for which to retrieve a description.
objectPrefix
Type: System.String
The optional prefix that is used to identify objects that Sync Framework creates.
connection
Type: SqlCeConnection
A SqlCeConnection object that contains a connection to the database.

Return Value

Type: Microsoft.Synchronization.Data.DbSyncScopeDescription
A DbSyncScopeDescription object that contains information about the specified scope.

ExceptionCondition
ArgumentNullException

connection is a null.

ArgumentException

scopeName is a null or empty.

Show:
© 2014 Microsoft