共用方式為


PlanGuide.ScopeType 屬性

Gets or sets the plan guide scope type.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ScopeType As PlanGuideType 
    Get 
    Set
'用途
Dim instance As PlanGuide 
Dim value As PlanGuideType 

value = instance.ScopeType

instance.ScopeType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public PlanGuideType ScopeType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property PlanGuideType ScopeType {
    PlanGuideType get ();
    void set (PlanGuideType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member ScopeType : PlanGuideType with get, set
function get ScopeType () : PlanGuideType 
function set ScopeType (value : PlanGuideType)

屬性值

型別:Microsoft.SqlServer.Management.Smo.PlanGuideType
The type of the scope.

請參閱

參考

PlanGuide 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作計畫指南

計畫指南