Partilhar via


Propriedade CommandText

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

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

Sintaxe

'Declaração
Public Property CommandText As String
    Get
    Set
'Uso
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)

Valor da propriedade

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