Share via


SPBandwidthUsageMonitoredScope constructor (SPBandwidthUserComponentId, SPBandwidthAccessType, String)

Initializes a new instance of an SPBandwidthUsageMonitoredScope class based on the component ID and access type for 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 _
)
'Usage
Dim componentId As SPBandwidthUserComponentId
Dim accessType As SPBandwidthAccessType
Dim url As String

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

Parameters

See also

Reference

SPBandwidthUsageMonitoredScope class

SPBandwidthUsageMonitoredScope members

SPBandwidthUsageMonitoredScope overload

Microsoft.SharePoint.Administration namespace