SyncSchemaTable.PrimaryKey Propiedad
Obtiene o establece las columnas de la clave principal de la tabla.
Espacio de nombres: Microsoft.Synchronization.Data
Ensamblado: Microsoft.Synchronization.Data (en microsoft.synchronization.data.dll)
Sintaxis
'Declaración
<SuppressMessageAttribute("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")> _
Public Property PrimaryKey As String()
'Uso
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[])
Valor de la propiedad
Matriz que contiene las columnas que forman la clave principal de la tabla.
Vea también
Referencia
SyncSchemaTable Clase
SyncSchemaTable Miembros
Microsoft.Synchronization.Data Espacio de nombres