Refreshes the build controller by getting current property values from the build server.
Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)
Syntax
'Declaration
Sub Refresh ( _
    propertyNameFilters As String(), _
    refreshAgentList As Boolean _
)
void Refresh(
    string[] propertyNameFilters,
    bool refreshAgentList
)
void Refresh(
    array<String^>^ propertyNameFilters, 
    bool refreshAgentList
)
abstract Refresh : 
        propertyNameFilters:string[] * 
        refreshAgentList:bool -> unit
function Refresh(
    propertyNameFilters : String[], 
    refreshAgentList : boolean
)
Parameters
- propertyNameFilters 
 Type: array<System.String[]- The property names to obtain. 
- refreshAgentList 
 Type: System.Boolean- If true, agents are requested from the server and the list of agents is replaced. 
.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.