SqlSmoObject.ExecuteForScalar Property
Applies To: SQL Server 2016 Preview
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
protected bool ExecuteForScalar { get; set; }
protected:
property bool ExecuteForScalar {
bool get();
void set(bool value);
}
member ExecuteForScalar : bool with get, set
Protected Property ExecuteForScalar As 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).
Examples
Legacy Code Example
See Also
SqlSmoObject Class
Microsoft.SqlServer.Management.Smo Namespace
Return to top