Share via


SPBandwidthUsageMonitoredScope constructor (SPBandwidthUserComponentId, SPBandwidthAccessType, String, Guid)

Initializes a new instance of an SPBandwidthUsageMonitoredScope class based on the specified component ID, access type, and product ID, and the referenced URL.

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

Syntax

'Declaration
Public Sub New ( _
    componentId As SPBandwidthUserComponentId, _
    accessType As SPBandwidthAccessType, _
    url As String, _
    productId As Guid _
)
'Usage
Dim componentId As SPBandwidthUserComponentId
Dim accessType As SPBandwidthAccessType
Dim url As String
Dim productId As Guid

Dim instance As New SPBandwidthUsageMonitoredScope(componentId, _
    accessType, url, productId)
public SPBandwidthUsageMonitoredScope(
    SPBandwidthUserComponentId componentId,
    SPBandwidthAccessType accessType,
    string url,
    Guid productId
)

Parameters

See also

Reference

SPBandwidthUsageMonitoredScope class

SPBandwidthUsageMonitoredScope members

SPBandwidthUsageMonitoredScope overload

Microsoft.SharePoint.Administration namespace