StoredQuery Constructor
Initializes a new StoredQuery instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
queryScope As QueryScope, _
queryName As String, _
queryText As String, _
description As String _
)
public StoredQuery(
QueryScope queryScope,
string queryName,
string queryText,
string description
)
public:
StoredQuery(
QueryScope queryScope,
String^ queryName,
String^ queryText,
String^ description
)
new :
queryScope:QueryScope *
queryName:string *
queryText:string *
description:string -> StoredQuery
public function StoredQuery(
queryScope : QueryScope,
queryName : String,
queryText : String,
description : String
)
Parameters
- queryScope
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.QueryScope
The scope of the query.
- queryName
Type: System.String
The name of the stored query.
- queryText
Type: System.String
The query string.
- description
Type: System.String
A description of the query.
.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.