Compartir a través de


HeterogeneousColumn.IsPrimaryKey Propiedad

Sets or gets whether there is a primary key constraint defined on the column.

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

Sintaxis

'Declaración
Public Property IsPrimaryKey As Boolean 
    Get 
    Set
'Uso
Dim instance As HeterogeneousColumn 
Dim value As Boolean 

value = instance.IsPrimaryKey

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

Valor de la propiedad

Tipo: System.Boolean
A Boolean value.If true, there is a primary key constraint defined on the column.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

HeterogeneousColumn Clase

Espacio de nombres Microsoft.SqlServer.Replication