共用方式為


SPUsageService Constructor (SPFarm)

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPUsageService] class within the specified SharePoint farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub New ( _
    farm As SPFarm _
)
'Usage
Dim farm As SPFarm

Dim instance As New SPUsageService(farm)
public SPUsageService(
    SPFarm farm
)

Parameters

See Also

Reference

SPUsageService Class

SPUsageService Members

SPUsageService Overload

Microsoft.SharePoint.Administration Namespace