This documentation is archived and is not being maintained.

WorkspaceInfo::OwnerNameMatches Method

Returns true if the owner name matches any of the valid owner names for this workspace.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public:
bool OwnerNameMatches(
	String^ ownerName
)

Parameters

ownerName
Type: System::String

The name of the owner for this workspace.

Return Value

Type: System::Boolean
true if the owner name matches any of the valid owner names for this workspace; otherwise, false.

Show: