共用方式為


CommandText 屬性

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

命名空間:  ReportService2005
組件:  ReportService2005 (在 ReportService2005.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.