SPVirtualServerCollection.Count property
NOTE: This API is now obsolete.
Gets the number of virtual servers in the collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("The SPVirtualServerCollection class is deprecated. Use an SPWebApplicationCollection instead.", _
False)> _
Public Overrides ReadOnly Property Count As Integer
Get
'Usage
Dim instance As SPVirtualServerCollection
Dim value As Integer
value = instance.Count
[ObsoleteAttribute("The SPVirtualServerCollection class is deprecated. Use an SPWebApplicationCollection instead.",
false)]
public override int Count { get; }
Property value
Type: System.Int32
A 32-bit integer that indicates the number of virtual servers.
Implements
See also
Reference
SPVirtualServerCollection class