PlanGuideCollection.Remove PlanGuideCollection.Remove PlanGuideCollection.Remove Method

Definition

Removes a plan guide from a plan guide collection.

Overloads

Remove(PlanGuide) Remove(PlanGuide)

Removes a plan guide from a plan guide collection.

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

Removes a plan guide from a plan guide collection based on the PlanGuide Name property.

Remove(PlanGuide) Remove(PlanGuide)

Removes a plan guide from a plan guide collection.

public:
 void Remove(Microsoft::SqlServer::Management::Smo::PlanGuide ^ planGuide);
public void Remove (Microsoft.SqlServer.Management.Smo.PlanGuide planGuide);
Parameters
planGuide
PlanGuide PlanGuide PlanGuide

The PlanGuide to remove.

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

Removes a plan guide from a plan guide collection based on the PlanGuide Name property.

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

The name of the plan guide to remove.

Applies to