SqlBatchCommand.CommandText Property

Definition

Gets or sets the text command to run against the data source.

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

Property Value

The text command to execute. The default value is an empty string ("").

Applies to