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 命名空间

其他资源

设计和实现计划指南