Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Compares two workspace names.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function MatchName ( _
workspaceName1 As String, _
workspaceName2 As String _
) As Boolean
public static bool MatchName(
string workspaceName1,
string workspaceName2
)
public:
static bool MatchName(
String^ workspaceName1,
String^ workspaceName2
)
static member MatchName :
workspaceName1:string *
workspaceName2:string -> bool
public static function MatchName(
workspaceName1 : String,
workspaceName2 : String
) : boolean
Parameters
workspaceName1
Type: System.StringThe first workspace name to compare.
workspaceName2
Type: System.StringThe second workspace name to compare.
Return Value
Type: System.Boolean
True if the names match; otherwise, false.
Remarks
This method is case-insensitive.
.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.