QueryDefinition Constructor (String, String, QueryFolder)
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, _
parent As QueryFolder _
)
public QueryDefinition(
string name,
string queryText,
QueryFolder parent
)
public:
QueryDefinition(
String^ name,
String^ queryText,
QueryFolder^ parent
)
new :
name:string *
queryText:string *
parent:QueryFolder -> QueryDefinition
public function QueryDefinition(
name : String,
queryText : String,
parent : QueryFolder
)
Parameters
name
Type: System.StringThe name of the query definition.
queryText
Type: System.StringThe query text for this query definition.
parent
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.QueryFolderThe parent folder 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.