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
- 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.Boolean
True if the specified server and project are the currently active server and project; otherwise, false.
.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.