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
- serverItem
Type: System.String
- maxPathLength
Type: Microsoft.TeamFoundation.VersionControl.Common.PathLength
.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.