SyncSchemaTable::PrimaryKey Property

Gets or sets the primary key columns for the table.

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

public:
property array<String^>^ PrimaryKey {
	array<String^>^ get ();
	void set (array<String^>^ value);
}

Property Value

Type: array<System::String>
An array that contains the primary key columns for the table.

ExceptionCondition
ArgumentNullException

value is a nullptr.

ArgumentException

value contains a column that is not in the parent data set.

Show: