共用方式為


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

範例

設定屬性