Workspace.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.StringThe name of the owner.
Return Value
Type: System.Boolean
.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.