Share via


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)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property PrimaryKey As String()
'Usage
Dim instance As SyncSchemaTable
Dim value As String()

value = instance.PrimaryKey

instance.PrimaryKey = value
[SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")] 
public string[] PrimaryKey { get; set; }
[SuppressMessageAttribute(L"Microsoft.Performance", L"CA1819:PropertiesShouldNotReturnArrays")] 
public:
property array<String^>^ PrimaryKey {
    array<String^>^ get ();
    void set (array<String^>^ value);
}
/** @property */
public String[] get_PrimaryKey ()

/** @property */
public void set_PrimaryKey (String[] value)
public function get PrimaryKey () : String[]

public function set PrimaryKey (value : String[])

Property Value

An array that contains the primary key columns for the table.

See Also

Reference

SyncSchemaTable Class
SyncSchemaTable Members
Microsoft.Synchronization.Data Namespace