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
- componentId
Type: Microsoft.SharePoint.Administration.SPBandwidthUserComponentId
- accessType
Type: Microsoft.SharePoint.Administration.SPBandwidthAccessType
- url
Type: System.String
- productId
Type: System.Guid
See also
Reference
SPBandwidthUsageMonitoredScope class
SPBandwidthUsageMonitoredScope members