共用方式為


PlanGuide.ScopeBatch 屬性

Gets or sets the scope batch of the plan guide.

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

語法

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

value = instance.ScopeBatch

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

屬性值

型別:System.String
The scope batch of the plan guide.

請參閱

參考

PlanGuide 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

設計和實作計畫指南

計畫指南