다음을 통해 공유


TeamFoundationFileService.RenameFile Method

Rename the given file

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub RenameFile ( _
    requestContext As TeamFoundationRequestContext, _
    fileId As Integer, _
    newFileName As String _
)
public void RenameFile(
    TeamFoundationRequestContext requestContext,
    int fileId,
    string newFileName
)
public:
void RenameFile(
    TeamFoundationRequestContext^ requestContext, 
    int fileId, 
    String^ newFileName
)
member RenameFile : 
        requestContext:TeamFoundationRequestContext * 
        fileId:int * 
        newFileName:string -> unit
public function RenameFile(
    requestContext : TeamFoundationRequestContext, 
    fileId : int, 
    newFileName : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

Microsoft.TeamFoundation.Framework.Server Namespace