Share via


SqlBatchCommand.CommandType 屬性

定義

取得或設定如何 CommandText 解譯屬性。

public:
 property System::Data::CommandType CommandType { System::Data::CommandType get(); void set(System::Data::CommandType value); };
public:
 virtual property System::Data::CommandType CommandType { System::Data::CommandType get(); void set(System::Data::CommandType value); };
public System.Data.CommandType CommandType { get; set; }
public override System.Data.CommandType CommandType { get; set; }
member this.CommandType : System.Data.CommandType with get, set
Public Property CommandType As CommandType
Public Overrides Property CommandType As CommandType

屬性值

其中一個列舉值,指定如何解譯命令字串。 預設為 Text

適用於