Share via


SqlSmoObject.ExecuteForScalar Property

Gets or sets the Boolean property value that specifies whether the object is set to the execute for scalar option.

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

Syntax

'Declaration
Protected Property ExecuteForScalar As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = Me.ExecuteForScalar

Me.ExecuteForScalar = value
protected bool ExecuteForScalar { get; set; }
protected:
property bool ExecuteForScalar {
    bool get ();
    void set (bool value);
}
member ExecuteForScalar : bool with get, set
function get ExecuteForScalar () : boolean
function set ExecuteForScalar (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether the object is set to the execute for scalar option.
If True, the object is set for the execute for scalar option. Otherwise, False (default).