Retrieves the latest build data from the server with the specified query options and information types.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
声明
Sub Refresh ( _
    informationTypes As String(), _
    queryOptions As QueryOptions _
)
void Refresh(
    string[] informationTypes,
    QueryOptions queryOptions
)
void Refresh(
    array<String^>^ informationTypes, 
    QueryOptions queryOptions
)
abstract Refresh : 
        informationTypes:string[] * 
        queryOptions:QueryOptions -> unit 
function Refresh(
    informationTypes : String[], 
    queryOptions : QueryOptions
)
Parameters
- informationTypes
 Type: array<System.String[]
 The information types to retrieve.
 Valid types include the members of Microsoft.TeamFoundation.Build.Common.InformationTypes, and "*".
- queryOptions
 Type: Microsoft.TeamFoundation.Build.Client.QueryOptions
 The query options to use for the Refresh.
.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.