CheckCollection.Remove Method (Check)
Removes a Check object from the CheckCollection collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub Remove ( _
check As Check _
)
'Usage
Dim instance As CheckCollection
Dim check As Check
instance.Remove(check)
public void Remove(
Check check
)
public:
void Remove(
Check^ check
)
member Remove :
check:Check -> unit
public function Remove(
check : Check
)
Parameters
- check
Type: Microsoft.SqlServer.Management.Smo.Check
A Check object value that specifies the check constraint to be removed from the CheckCollection collection.