We recommend using Visual Studio 2017

PlanGuide Class

Creates a plan guide object: PlanGuide

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public sealed class PlanGuide : NamedSmoObject, 
	ICreatable, IAlterable, IDroppable, IScriptable, IExtendedProperties

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions