다음을 통해 공유


LabelSpec.IsLegalScope Method

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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

LabelSpec Class

Microsoft.TeamFoundation.VersionControl.Common Namespace