Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.StringThe URL of the server.
projectName
Type: System.StringThe name of the project.
projectUri
Type: System.StringThe 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.