Partilhar 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)
Available in Sandboxed Solutions: No

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