Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

protected bool ExecuteForScalar { get; set; }

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).

Legacy Code Example

Return to top
Show:
© 2015 Microsoft