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 the names of two workspace owners.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Shared Function MatchOwnerName ( _
workspaceOwnerName1 As String, _
workspaceOwnerName2 As String _
) As Boolean
public static bool MatchOwnerName(
string workspaceOwnerName1,
string workspaceOwnerName2
)
public:
static bool MatchOwnerName(
String^ workspaceOwnerName1,
String^ workspaceOwnerName2
)
static member MatchOwnerName :
workspaceOwnerName1:string *
workspaceOwnerName2:string -> bool
public static function MatchOwnerName(
workspaceOwnerName1 : String,
workspaceOwnerName2 : String
) : boolean
Parameters
- workspaceOwnerName1
Type: System.String
The first name to compare.
- workspaceOwnerName2
Type: System.String
The second 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.