Partager via


PlanGuides propriété

Gets Plan Guides associated with a database.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PlanGuide))> _
Public ReadOnly Property PlanGuides As PlanGuideCollection
    Get
'Utilisation
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

Valeur de la propriété

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