SPUsageDatabase constructor (String, SPDatabaseServiceInstance)

Initializes a new instance of the [Microsoft.SharePoint.Administration.SPUsageDatabase] class based on values of the given name and serviceInstance parameters.

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    serviceInstance As SPDatabaseServiceInstance _
)
'Usage
Dim name As String
Dim serviceInstance As SPDatabaseServiceInstance

Dim instance As New SPUsageDatabase(name, serviceInstance)
public SPUsageDatabase(
    string name,
    SPDatabaseServiceInstance serviceInstance
)

Parameters

Remarks

This constructor is required for deserialization from the configuration database.

See also

Reference

SPUsageDatabase class

SPUsageDatabase members

SPUsageDatabase overload

Microsoft.SharePoint.Administration namespace