Share via


IVsTeamExplorer.QuerySetCurrentServerAndProject Method

Checks whether the specified server and project are the currently active server and project.

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Function QuerySetCurrentServerAndProject ( _
    serverUrl As String, _
    projectName As String, _
    projectUri As String _
) As Boolean
bool QuerySetCurrentServerAndProject(
    string serverUrl,
    string projectName,
    string projectUri
)
bool QuerySetCurrentServerAndProject(
    String^ serverUrl, 
    String^ projectName, 
    String^ projectUri
)
abstract QuerySetCurrentServerAndProject : 
        serverUrl:string * 
        projectName:string * 
        projectUri:string -> bool
function QuerySetCurrentServerAndProject(
    serverUrl : String, 
    projectName : String, 
    projectUri : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the specified server and project are the currently active server and project; otherwise, false.

.NET Framework Security

See Also

Reference

IVsTeamExplorer Interface

Microsoft.TeamFoundation.Common Namespace