共用方式為


SPVirtualServer constructor

NOTE: This API is now obsolete.

已過時。初始化SPVirtualServer類別的新執行個體。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Sub New ( _
    application As SPWebApplication, _
    zone As SPUrlZone _
)
'用途
Dim application As SPWebApplication
Dim zone As SPUrlZone

Dim instance As New SPVirtualServer(application, _
    zone)
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public SPVirtualServer(
    SPWebApplication application,
    SPUrlZone zone
)

參數

請參閱

參照

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace