Delen via


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

Return Value

Type: System.Boolean
true if the string is a server item.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace