共用方式為


Database.PlanGuides 屬性

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

請參閱

參考

Database 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作計畫指南