Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
fileId
Type: System.Int32The id of the file to rename
newFileName
Type: System.StringThe name
.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.