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.
Checks to see whether the workspace name consists only of valid characters and is less than the maximum length and does not contain a workspace separator.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function IsLegalName ( _
workspaceName As String _
) As Boolean
public static bool IsLegalName(
string workspaceName
)
public:
static bool IsLegalName(
String^ workspaceName
)
static member IsLegalName :
workspaceName:string -> bool
public static function IsLegalName(
workspaceName : String
) : boolean
Parameters
workspaceName
Type: System.StringThe workspace name to check.
Return Value
Type: System.Boolean
true if the workspace name is valid; false otherwise.
.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.