CheckCollection.Remove CheckCollection.Remove CheckCollection.Remove Method

Definition

Removes a Check object from the CheckCollection collection.

Overloads

Remove(Check) Remove(Check)

Removes a Check object from the CheckCollection collection.

Remove(String) Remove(String) Remove(String)

Removes a Check object with the specified name from the CheckCollection collection.

Remove(Check) Remove(Check)

Removes a Check object from the CheckCollection collection.

public:
 void Remove(Microsoft::SqlServer::Management::Smo::Check ^ check);
public void Remove (Microsoft.SqlServer.Management.Smo.Check check);
Parameters
check
Check Check Check

A Check object value that specifies the check constraint to be removed from the CheckCollection collection.

Examples

Using Collections

Remove(String) Remove(String) Remove(String)

Removes a Check object with the specified name from the CheckCollection collection.

public:
 void Remove(System::String ^ name);
public void Remove (string name);
Public Sub Remove (name As String)
Parameters
name
String String String

A String object that specifies the name of the Check object to be removed from the CheckCollection collection.

Examples

Using Collections

Applies to