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)

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

See Also

Reference

WorkspaceInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace