Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.Stringworkspace 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.