Share via


SPUsageServiceInstance constructor (SPServer, SPUsageService)

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPUsageServiceInstance] class. This constructor is required for deserialization from the Configuration database.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    server As SPServer, _
    service As SPUsageService _
)
'Usage
Dim server As SPServer
Dim service As SPUsageService

Dim instance As New SPUsageServiceInstance(server, _
    service)
public SPUsageServiceInstance(
    SPServer server,
    SPUsageService service
)

Parameters

See also

Reference

SPUsageServiceInstance class

SPUsageServiceInstance members

SPUsageServiceInstance overload

Microsoft.SharePoint.Administration namespace