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.ReadOnlyAfterCreation)> _
Public Property ScopeBatch As String
    Get
    Set
'Usage
Dim instance As PlanGuide
Dim value As String

value = instance.ScopeBatch

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

Property Value

Type: System.String
String