共用方式為


SPServiceApplication.IsConnected Method

Determines whether the specified proxy is connected to the service application.

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

Syntax

'Declaration
Public Overridable Function IsConnected ( _
    proxy As SPServiceApplicationProxy _
) As Boolean
'Usage
Dim instance As SPServiceApplication
Dim proxy As SPServiceApplicationProxy
Dim returnValue As Boolean

returnValue = instance.IsConnected(proxy)
public virtual bool IsConnected(
    SPServiceApplicationProxy proxy
)

Parameters

Return Value

Type: System.Boolean
true if the specified proxy is connected to the service application; otherwise, false.

Remarks

This method always returns false.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace