Partilhar via


QueryDefinition Constructor (String, String)

Initializes a new QueryDefinition instance.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    queryText As String _
)
public QueryDefinition(
    string name,
    string queryText
)
public:
QueryDefinition(
    String^ name, 
    String^ queryText
)
new : 
        name:string * 
        queryText:string -> QueryDefinition
public function QueryDefinition(
    name : String, 
    queryText : String
)

Parameters

  • queryText
    Type: System.String

    The query text for this query definition.

.NET Framework Security

See Also

Reference

QueryDefinition Class

QueryDefinition Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace