VersionControlPath.IsServerItem Method
Returns true if the specified string appears to be a server item (instead of a local item). The path is not required to be canonicalized. All server item paths are absolute.
Namespace: Microsoft.TeamFoundation.VersionControl.Common
Assembly: Microsoft.TeamFoundation.VersionControl.Common (in Microsoft.TeamFoundation.VersionControl.Common.dll)
Syntax
'Declaration
Public Shared Function IsServerItem ( _
path As String _
) As Boolean
public static bool IsServerItem(
string path
)
public:
static bool IsServerItem(
String^ path
)
static member IsServerItem :
path:string -> bool
public static function IsServerItem(
path : String
) : boolean
Parameters
path
Type: System.StringPath to check.
Return Value
Type: System.Boolean
true if the string is a server item.
.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.