DbSyncProvider.ScopeNameColName Property

Gets or sets the name the column in the scope information table that contains the name of the scope.

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

Syntax

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

value = Me.ScopeNameColName

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

Property Value

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

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