Compartir a través de


HeterogeneousTable.HasPrimaryKey Propiedad

Gets or sets whether the table has a primary key.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Property HasPrimaryKey As Boolean 
    Get 
    Set
'Uso
Dim instance As HeterogeneousTable 
Dim value As Boolean 

value = instance.HasPrimaryKey

instance.HasPrimaryKey = value
public bool HasPrimaryKey { get; set; }
public:
property bool HasPrimaryKey {
    bool get ();
    void set (bool value);
}
member HasPrimaryKey : bool with get, set
function get HasPrimaryKey () : boolean 
function set HasPrimaryKey (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value.If true, there is a primary key defined on the table.If false, there is no primary key.

Comentarios

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Vea también

Referencia

HeterogeneousTable Clase

Espacio de nombres Microsoft.SqlServer.Replication