Database.PlanGuides Property
Gets Plan Guides associated with a database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(PlanGuide))> _
Public ReadOnly Property PlanGuides As PlanGuideCollection
Get
'Usage
Dim instance As Database
Dim value As PlanGuideCollection
value = instance.PlanGuides
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(PlanGuide))]
public PlanGuideCollection PlanGuides { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(PlanGuide))]
public:
property PlanGuideCollection^ PlanGuides {
PlanGuideCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(PlanGuide))>]
member PlanGuides : PlanGuideCollection
function get PlanGuides () : PlanGuideCollection
Property Value
Type: Microsoft.SqlServer.Management.Smo.PlanGuideCollection
A PlanGuideCollection containing the PlanGuide objects for a database.
See Also