TeamFoundationFileService.DeleteFile Method
Deletes the given file (Marks it as unaccessible).
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub DeleteFile ( _
requestContext As TeamFoundationRequestContext, _
fileId As Integer _
)
public void DeleteFile(
TeamFoundationRequestContext requestContext,
int fileId
)
public:
void DeleteFile(
TeamFoundationRequestContext^ requestContext,
int fileId
)
member DeleteFile :
requestContext:TeamFoundationRequestContext *
fileId:int -> unit
public function DeleteFile(
requestContext : TeamFoundationRequestContext,
fileId : int
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- fileId
Type: System.Int32
.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.