SPGlobalAdmin.VirtualServers property
NOTE: This API is now obsolete.
使用SPWebService類別之WebApplications屬性而取得的 Web 服務中的 Web 應用程式的集合。(在Windows SharePoint Services 2.0, VirtualServerNames屬性 got 虛擬伺服器物件的集合,在SharePoint Foundation部署中,以及維護回溯相容性。)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("SPGlobalAdmin.VirtualServers is obsolete. Use SPWebService.ContentService.WebApplications instead.", _
False)> _
Public ReadOnly Property VirtualServers As SPVirtualServerCollection
Get
'用途
Dim instance As SPGlobalAdmin
Dim value As SPVirtualServerCollection
value = instance.VirtualServers
[ObsoleteAttribute("SPGlobalAdmin.VirtualServers is obsolete. Use SPWebService.ContentService.WebApplications instead.",
false)]
public SPVirtualServerCollection VirtualServers { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPVirtualServerCollection
表示在虛擬伺服器的SPVirtualServerCollection物件。