DbSyncProvider.ScopeLocalIdColName Property

Gets or sets the name the column in the scope information table that contains an integer identifier for the scope.

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

Syntax

'Declaration
Protected Property ScopeLocalIdColName As String
    Get
    Set
'Usage
Dim value As String

value = Me.ScopeLocalIdColName

Me.ScopeLocalIdColName = value
protected string ScopeLocalIdColName { get; set; }
protected:
property String^ ScopeLocalIdColName {
    String^ get ();
    void set (String^ value);
}
member ScopeLocalIdColName : string with get, set
function get ScopeLocalIdColName () : String
function set ScopeLocalIdColName (value : String)

Property Value

Type: System.String
The name of the column, with a default of scope_local_id.

Exceptions

Exception Condition
ArgumentNullException

value is a null reference (Nothing in Visual Basic).

ObjectDisposedException

This DbSyncProvider is disposed.

Remarks

The name of the column must match the name that is used in synchronization queries or stored procedures. The name of this column is typically changed only if the default name is not a valid identifier in the database that is provisioned for synchronization. For more information about metadata columns, see How to: Provision a Server Database for Collaborative Synchronization (Non-SQL Server).

See Also

Reference

DbSyncProvider Class

Microsoft.Synchronization.Data Namespace