Share via


SPServiceApplicationProxyGroup.Contains method

Determines whether a service application proxy exists in the group.

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

Syntax

'Declaration
Public Function Contains ( _
    serviceApplicationProxy As SPServiceApplicationProxy _
) As Boolean
'Usage
Dim instance As SPServiceApplicationProxyGroup
Dim serviceApplicationProxy As SPServiceApplicationProxy
Dim returnValue As Boolean

returnValue = instance.Contains(serviceApplicationProxy)
public bool Contains(
    SPServiceApplicationProxy serviceApplicationProxy
)

Parameters

Return value

Type: System.Boolean
true if the service application proxy exists in the group; otherwise, false.

See also

Reference

SPServiceApplicationProxyGroup class

SPServiceApplicationProxyGroup members

Microsoft.SharePoint.Administration namespace