Delen via


VersionControlPath.ValidatePath Method (String, PathLength)

Validates the server path. Wildcards are not allowed Exception is thrown if invalid.

Namespace:  Microsoft.TeamFoundation.VersionControl.Common
Assembly:  Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)

Syntax

'Declaration
Public Shared Sub ValidatePath ( _
    serverItem As String, _
    maxPathLength As PathLength _
)
public static void ValidatePath(
    string serverItem,
    PathLength maxPathLength
)
public:
static void ValidatePath(
    String^ serverItem, 
    PathLength maxPathLength
)
static member ValidatePath : 
        serverItem:string * 
        maxPathLength:PathLength -> unit
public static function ValidatePath(
    serverItem : String, 
    maxPathLength : PathLength
)

Parameters

.NET Framework Security

See Also

Reference

VersionControlPath Class

ValidatePath Overload

Microsoft.TeamFoundation.VersionControl.Common Namespace