Delen via


QueryDefinition.QueryText Property

Gets or sets the query text.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Property QueryText As String
public string QueryText { get; set; }
public:
property String^ QueryText {
    String^ get ();
    void set (String^ value);
}
member QueryText : string with get, set
function get QueryText () : String 
function set QueryText (value : String)

Property Value

Type: System.String
The query text.

Remarks

Throws an exception if the query text is invalid.

.NET Framework Security

See Also

Reference

QueryDefinition Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace