Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets or gets whether there is a primary key constraint defined on the column.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Property IsPrimaryKey As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
A Boolean value.If true, there is a primary key constraint defined on the column.If false, there is no primary key.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.