SPUsageApplication.IsConnected 方法
确定是否将指定的代理连接到的服务应用程序。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Overrides Function IsConnected ( _
proxy As SPServiceApplicationProxy _
) As Boolean
用法
Dim instance As SPUsageApplication
Dim proxy As SPServiceApplicationProxy
Dim returnValue As Boolean
returnValue = instance.IsConnected(proxy)
public override bool IsConnected(
SPServiceApplicationProxy proxy
)
参数
proxy
类型:Microsoft.SharePoint.Administration.SPServiceApplicationProxy代理服务器用来连接到服务器对象。
返回值
类型:System.Boolean
Boolean 值 = true ,如果指定的代理连接到的服务应用程序。