Share via


SPWebApplication.OfficialFileHosts property

Gets a collection of SPOfficialFileHost objects.

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

Syntax

'Declaration
Public ReadOnly Property OfficialFileHosts As Collection(Of SPOfficialFileHost)
    Get
'Usage
Dim instance As SPWebApplication
Dim value As Collection(Of SPOfficialFileHost)

value = instance.OfficialFileHosts
public Collection<SPOfficialFileHost> OfficialFileHosts { get; }

Property value

Type: System.Collections.ObjectModel.Collection<SPOfficialFileHost>
A Collection<T> object that represents a generic collection.

Remarks

If the collection does not exist, this property creates and gets a new one.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace