Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a collection of the names of the columns that make up the unique ID for each row in the table.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public ReadOnly Property RowIdColumns As Collection(Of String)
Get
'Usage
Dim instance As DbSyncAdapter
Dim value As Collection(Of String)
value = instance.RowIdColumns
public Collection<string> RowIdColumns { get; }
public:
property Collection<String^>^ RowIdColumns {
Collection<String^>^ get ();
}
member RowIdColumns : Collection<string>
function get RowIdColumns () : Collection<String>
Property Value
Type: System.Collections.ObjectModel.Collection<String>
A collection of the names of the columns that make up the unique ID for each row in the table.
Examples
The following code example creates a SyncAdapter object for the Customer table and specifies that the CustomerId column should be used to identify each row in the table.
DbSyncAdapter adapterCustomer = new DbSyncAdapter("Customer");
//Specify the primary key, which Sync Framework uses
//to identify each row during synchronization.
adapterCustomer.RowIdColumns.Add("CustomerId");
Dim adapterCustomer As New DbSyncAdapter("Customer")
'Specify the primary key, which Sync Framework uses
'to identify each row during synchronization.
adapterCustomer.RowIdColumns.Add("CustomerId")