共用方式為


IVersionControlService.GetServerPathFromLocalPath Method

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

Syntax

'Declaration
Function GetServerPathFromLocalPath ( _
    localPath As String, _
    <OutAttribute> ByRef serverPath As String _
) As Integer
int GetServerPathFromLocalPath(
    string localPath,
    out string serverPath
)
int GetServerPathFromLocalPath(
    [InAttribute] String^ localPath, 
    [OutAttribute] String^% serverPath
)
abstract GetServerPathFromLocalPath : 
        localPath:string * 
        serverPath:string byref -> int
function GetServerPathFromLocalPath(
    localPath : String, 
    serverPath : String
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace