SqlSmoObject.ExecuteForScalar 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Protected Property ExecuteForScalar As Boolean 
    Get 
    Set
用法
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)

属性值

类型: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).

示例

设置属性

请参阅

参考

SqlSmoObject 类

Microsoft.SqlServer.Management.Smo 命名空间