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
name
Type: System.StringThe name of the query definition.
queryText
Type: System.StringThe query text for this query definition.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.