Delen via


QueryDefinition.CommandText Property

Gets or sets the query text that is executed in order to obtain the report data.

Namespace:  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Syntax

'Declaration
Public Property CommandText As String
    Get
    Set
'Usage
Dim instance As QueryDefinition
Dim value As String

value = instance.CommandText

instance.CommandText = value
public string CommandText { get; set; }
public:
property String^ CommandText {
    String^ get ();
    void set (String^ value);
}
member CommandText : string with get, set
function get CommandText () : String
function set CommandText (value : String)

Property Value

Type: System.String
A String value that contains the query text that is executed in order to obtain the report data.