Share via


SPVirtualServer.VirtualServerId property

NOTE: This API is now obsolete.

Obsolete. Gets the GUID for the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property VirtualServerId As Guid
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As Guid

value = instance.VirtualServerId
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public Guid VirtualServerId { get; }

Property value

Type: System.Guid
The GUID for the virtual server.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace