共用方式為


ClientServiceProxy.QueryWorkitems Method

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

Syntax

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03/QueryWorkitems", RequestNamespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03",  _
    ResponseNamespace := "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("RequestHeaderValue")> _
Public Function QueryWorkitems ( _
    psQuery As XmlElement, _
    sort As QuerySortOrderEntry(), _
    useMaster As Boolean, _
    <OutAttribute> ByRef asOfDate As DateTime, _
    metadataHave As MetadataTableHaveEntry(), _
    <OutAttribute> ByRef dbStamp As String, _
    <OutAttribute> ByRef metadata As RowSetCollection _
) As XmlElement
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03/QueryWorkitems", RequestNamespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    ResponseNamespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("RequestHeaderValue")]
public XmlElement QueryWorkitems(
    XmlElement psQuery,
    QuerySortOrderEntry[] sort,
    bool useMaster,
    out DateTime asOfDate,
    MetadataTableHaveEntry[] metadataHave,
    out string dbStamp,
    out RowSetCollection metadata
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03/QueryWorkitems", RequestNamespace = L"https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    ResponseNamespace = L"https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"RequestHeaderValue")]
public:
XmlElement^ QueryWorkitems(
    XmlElement^ psQuery, 
    array<QuerySortOrderEntry>^ sort, 
    bool useMaster, 
    [OutAttribute] DateTime% asOfDate, 
    array<MetadataTableHaveEntry>^ metadataHave, 
    [OutAttribute] String^% dbStamp, 
    [OutAttribute] RowSetCollection^% metadata
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03/QueryWorkitems", RequestNamespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    ResponseNamespace = "https://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("RequestHeaderValue")>]
member QueryWorkitems : 
        psQuery:XmlElement * 
        sort:QuerySortOrderEntry[] * 
        useMaster:bool * 
        asOfDate:DateTime byref * 
        metadataHave:MetadataTableHaveEntry[] * 
        dbStamp:string byref * 
        metadata:RowSetCollection byref -> XmlElement 
public function QueryWorkitems(
    psQuery : XmlElement, 
    sort : QuerySortOrderEntry[], 
    useMaster : boolean, 
    asOfDate : DateTime, 
    metadataHave : MetadataTableHaveEntry[], 
    dbStamp : String, 
    metadata : RowSetCollection
) : XmlElement

Parameters

Return Value

Type: System.Xml.XmlElement

.NET Framework Security

See Also

Reference

ClientServiceProxy Class

Microsoft.TeamFoundation.WorkItemTracking.Proxy Namespace