共用方式為


PlanGuides 屬性

Gets Plan Guides associated with a database.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(PlanGuide))> _
Public ReadOnly Property PlanGuides As PlanGuideCollection
    Get
'用途
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

屬性值

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