Share via


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)

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