Condividi tramite


Proprietà CommandText

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

Spazio dei nomi  ReportService2006
Assembly:  ReportService2006 (in ReportService2006.dll)

Sintassi

'Dichiarazione
Public Property CommandText As String
    Get
    Set
'Utilizzo
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)

Valore proprietà

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