共用方式為


AdminRepositoryInfo.WorkspaceCount Property

Gets the number of workspaces in the repository.

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

Syntax

'Declaration
Public Property WorkspaceCount As Integer
public int WorkspaceCount { get; set; }
public:
property int WorkspaceCount {
    int get ();
    void set (int value);
}
member WorkspaceCount : int with get, set
function get WorkspaceCount () : int 
function set WorkspaceCount (value : int)

Property Value

Type: System.Int32
The number of workspaces in the repository.

.NET Framework Security

See Also

Reference

AdminRepositoryInfo Class

Microsoft.TeamFoundation.VersionControl.Client Namespace