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.
Returns true if labelScope is a valid label scope. Verifies it is a server item without wildcard characters.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function IsLegalScope ( _
labelScope As String _
) As Boolean
public static bool IsLegalScope(
string labelScope
)
public:
static bool IsLegalScope(
String^ labelScope
)
static member IsLegalScope :
labelScope:string -> bool
public static function IsLegalScope(
labelScope : String
) : boolean
Parameters
- labelScope
Type: System.String
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.