Share via


SPVirtualServer constructor

NOTE: This API is now obsolete.

Obsolete. Initializes a new instance of the SPVirtualServer class.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public Sub New ( _
    application As SPWebApplication, _
    zone As SPUrlZone _
)
'Usage
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
)

Parameters

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace