Udostępnij za pośrednictwem


QueryDefinition.CommandText Property

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

Namespace:  ReportService2005
Assembly:  ReportService2005 (in ReportService2005.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.

See Also

Reference

QueryDefinition Class

ReportService2005 Namespace