PlanGuides 属性
获取与某一数据库相关联的计划指南。
命名空间: 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
一个包含数据库的 PlanGuide 对象的 PlanGuideCollection。