Freigeben über


Database.PlanGuides-Eigenschaft

Gets a collection of 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

Eigenschaftswert

Typ: Microsoft.SqlServer.Management.Smo.PlanGuideCollection
A PlanGuideCollection containing the PlanGuide objects for a database.

Siehe auch

Verweis

Database Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Entwerfen und Implementieren von Planhinweislisten