Partager via


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

.NET Framework Security

See Also

Reference

TeamFoundationFileService Class

Microsoft.TeamFoundation.Framework.Server Namespace