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
serviceApplicationProxy
Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxyThe service application proxy.
Return value
Type: System.Boolean
true if the service application proxy exists in the group; otherwise, false.
See also
Reference
SPServiceApplicationProxyGroup class