共用方式為


OpenVirtualServer Method

The OpenVirtualServer method of the SPGlobalAdmin class opens the virtual server identified by the specified URI.

Parameters

uri   An absolute URI that specifies the virtual server.

Return Value

A Microsoft.SharePoint.Administration.SPVirtualServer object that represents the virtual server.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security