Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
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
Public Property PrimaryKey As String()
Get
Set
'Usage
Dim instance As SyncSchemaTable
Dim value As String()
value = instance.PrimaryKey
instance.PrimaryKey = value
public string[] PrimaryKey { get; set; }
public:
property array<String^>^ PrimaryKey {
array<String^>^ get ();
void set (array<String^>^ value);
}
member PrimaryKey : string[] with get, set
function get PrimaryKey () : String[]
function set PrimaryKey (value : String[])
Property Value
Type: System.String[]
An array that contains the primary key columns for the table.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
| ArgumentException | value contains a column that is not in the parent data set. |