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)
Syntax
'Declaration
Public Function OwnerNameMatches ( _
    ownerName As String _
) As Boolean
public bool OwnerNameMatches(
    string ownerName
)
public:
bool OwnerNameMatches(
    String^ ownerName
)
member OwnerNameMatches : 
        ownerName:string -> bool
public function OwnerNameMatches(
    ownerName : String
) : boolean
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.
.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.