Partager via


Propriété CommandText

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

Espace de noms :  ReportService2005
Assembly :  ReportService2005 (en ReportService2005.dll)

Syntaxe

'Déclaration
Public Property CommandText As String
    Get
    Set
'Utilisation
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)

Valeur de propriété

Type : System. . :: . .String
A String value.