SPWebService.UsageSettings Property

NOTE: This API is now obsolete.

Gets the collection of usage settings for this Web service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Deprecated method. Do not use except for upgrade scenarios.",  _
    False)> _
Public ReadOnly Property UsageSettings As SPUsageSettings
    Get
'Usage
Dim instance As SPWebService
Dim value As SPUsageSettings

value = instance.UsageSettings
[ObsoleteAttribute("Deprecated method. Do not use except for upgrade scenarios.", 
    false)]
public SPUsageSettings UsageSettings { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPUsageSettings
Returns SPUsageSettings.

See Also

Reference

SPWebService Class

SPWebService Members

Microsoft.SharePoint.Administration Namespace