Share via


PlanGuide.ScopeBatch Property

Gets or sets the scope batch of the plan guide.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ScopeBatch As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
The scope batch of the plan guide.

See Also

Reference

PlanGuide Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Designing and Implementing Plan Guides

Plan Guides