This documentation is archived and is not being maintained.
IVsTeamExplorer::QuerySetCurrentServerAndProject Method
Visual Studio 2013
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)
bool QuerySetCurrentServerAndProject(
String^ serverUrl,
String^ projectName,
String^ projectUri
)
Parameters
- serverUrl
- Type: System::String
The URL of the server.
- projectName
- Type: System::String
The name of the project.
- projectUri
- Type: System::String
The URI of the project.
Return Value
Type: System::BooleanTrue if the specified server and project are the currently active server and project; otherwise, false.
- 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.
Show: