共用方式為


GeneralSetCommand.CommandType 屬性

Gets or sets the command type.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property CommandType As GeneralSetCommandType 
    Get 
    Set
'用途
Dim instance As GeneralSetCommand 
Dim value As GeneralSetCommandType 

value = instance.CommandType

instance.CommandType = value
public GeneralSetCommandType CommandType { get; set; }
public:
property GeneralSetCommandType CommandType {
    GeneralSetCommandType get ();
    void set (GeneralSetCommandType value);
}
member CommandType : GeneralSetCommandType with get, set
function get CommandType () : GeneralSetCommandType 
function set CommandType (value : GeneralSetCommandType)

屬性值

型別:Microsoft.SqlServer.TransactSql.ScriptDom.GeneralSetCommandType
The command type.

請參閱

參考

GeneralSetCommand 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間