共用方式為


QueryDefinition.CommandText 屬性

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

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property CommandText As String 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

QueryDefinition 類別

ReportService2010 命名空間