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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.