共用方式為


TeamFoundationVersionControlService.OptimizeDatabase Method

This method performs a database optimization pass for version control tables.

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

Syntax

'Declaration
Public Sub OptimizeDatabase ( _
    requestContext As TeamFoundationRequestContext _
)
public void OptimizeDatabase(
    TeamFoundationRequestContext requestContext
)
public:
void OptimizeDatabase(
    TeamFoundationRequestContext^ requestContext
)
member OptimizeDatabase : 
        requestContext:TeamFoundationRequestContext -> unit
public function OptimizeDatabase(
    requestContext : TeamFoundationRequestContext
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

Microsoft.TeamFoundation.VersionControl.Server Namespace