SPServiceApplication.IsConnected method
會決定是否要將指定的 proxy 連線至服務應用程式。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Overridable Function IsConnected ( _
proxy As SPServiceApplicationProxy _
) As Boolean
'用途
Dim instance As SPServiceApplication
Dim proxy As SPServiceApplicationProxy
Dim returnValue As Boolean
returnValue = instance.IsConnected(proxy)
public virtual bool IsConnected(
SPServiceApplicationProxy proxy
)
參數
proxy
Type: Microsoft.SharePoint.Administration.SPServiceApplicationProxyProxy。
傳回值
Type: System.Boolean
true如果指定的 proxy 連線至服務應用程式 ;否則,請false。
備註
這個方法一定會傳回false。