Condividi tramite


SPServiceApplication.ServiceApplicationProxyGroup Property

Gets or sets the service application proxy group for this SPServiceApplication.

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

Syntax

'Declaration
Public Property ServiceApplicationProxyGroup As SPServiceApplicationProxyGroup
    Get
    Set
'Usage
Dim instance As SPServiceApplication
Dim value As SPServiceApplicationProxyGroup

value = instance.ServiceApplicationProxyGroup

instance.ServiceApplicationProxyGroup = value
public SPServiceApplicationProxyGroup ServiceApplicationProxyGroup { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxyGroup
Returns a SPServiceApplicationProxyGroup that represents a group of references for service application proxies.

Remarks

Service applications have a corresponding service application proxy, which is an object that a service consumer or Web part uses to connect to a service application. Web applications cannot communicate with a service application without a service application proxy. A proxy group can contain multiple service applications of the same type. If the proxy group for this SPServiceApplication is a null reference (Nothing in Visual Basic), then the default SPServiceApplicationProxyGroup for the local farm is used instead.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace