共用方式為


Admin.QueryRepositoryInformation Method

Return information about repository usage, including the following: - # Users - # Workspaces - # Files/folders - Highest change set ID - # Pending Changes.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Function QueryRepositoryInformation As AdminRepositoryInfo
[WebMethodAttribute]
public AdminRepositoryInfo QueryRepositoryInformation()
[WebMethodAttribute]
public:
AdminRepositoryInfo^ QueryRepositoryInformation()
[<WebMethodAttribute>]
member QueryRepositoryInformation : unit -> AdminRepositoryInfo
public function QueryRepositoryInformation() : AdminRepositoryInfo

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Server.AdminRepositoryInfo
Current repository information.

.NET Framework Security

See Also

Reference

Admin Class

Microsoft.TeamFoundation.VersionControl.Server Namespace