SPServiceLoadBalancer constructor (Uri)
初始化使用統一資源識別元 (URI) 的SPServiceLoadBalancer類別的新執行個體。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Sub New ( _
serviceUri As Uri _
)
'用途
Dim serviceUri As Uri
Dim instance As New SPServiceLoadBalancer(serviceUri)
protected SPServiceLoadBalancer(
Uri serviceUri
)
參數
serviceUri
Type: System.UriURI。
備註
拓樸服務的 URI 所格式如下:
urn:schemas-microsoft-com:sharepoint:service:<serviceId>#authority=urn:uuid:<topologyId>&authority=<topologyUri>
範例:
urn:schemas-microsoft-com:sharepoint:service:93982cc9173a461eb53b556ce3ecd5f0#authority=urn:uuid:d814414d6f5243bfb6ec5c7854a35617&authority=https://server1:8080/topology/topology.svc
也可以是 URI 外部負載平衡的 URI。