Column.SetColumnIsInPrimaryKey Method

Specifies the database column as part of the primary key.

Namespace:  Microsoft.Web.Management.DatabaseManager
Assembly:  Microsoft.Web.Management.DatabaseManager (in Microsoft.Web.Management.DatabaseManager.dll)

Syntax

'Declaration
Public Sub SetColumnIsInPrimaryKey ( _
    isInPrimaryKey As Boolean _
)
'Usage
Dim instance As Column
Dim isInPrimaryKey As Boolean

instance.SetColumnIsInPrimaryKey(isInPrimaryKey)
public void SetColumnIsInPrimaryKey(
    bool isInPrimaryKey
)
public:
void SetColumnIsInPrimaryKey(
    bool isInPrimaryKey
)
public function SetColumnIsInPrimaryKey(
    isInPrimaryKey : boolean
)

Parameters

  • isInPrimaryKey
    Type: System.Boolean
    true to specify that the column is part of the primary key; otherwise, false.

Permissions

See Also

Reference

Column Class

Microsoft.Web.Management.DatabaseManager Namespace