VersionControlPath.ValidatePath Method (String)
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 _
)
public static void ValidatePath(
string serverItem
)
public:
static void ValidatePath(
String^ serverItem
)
static member ValidatePath :
serverItem:string -> unit
public static function ValidatePath(
serverItem : String
)
Parameters
- serverItem
Type: System.String
.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.