Share via


SPWebService.WcfServiceSettings property

Gets a dictionary list that provides the settings of the WCF services that use the service factory of MultipleBaseAddressWebServiceHostFactory, MultipleBaseAddressDataServiceHostFactory, and MultipleBaseAddressBasicHttpBindingServiceHostFactory.

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

Syntax

'Declaration
Public ReadOnly Property WcfServiceSettings As Dictionary(Of String, SPWcfServiceSettings)
    Get
'Usage
Dim instance As SPWebService
Dim value As Dictionary(Of String, SPWcfServiceSettings)

value = instance.WcfServiceSettings
public Dictionary<string, SPWcfServiceSettings> WcfServiceSettings { get; }

Property value

Type: System.Collections.Generic.Dictionary<String, SPWcfServiceSettings>
A Dictionary<TKey, TValue> object that maps between a set of strings providing service names and a set of SPWcfServiceSettings objects, each of which represents the settings for a given service.

Remarks

The key is the service name in lowercase, for example, “client.svc”; the value provides the settings for that service.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace