Partilhar via


SPWebApplication.OfficialFileHosts Property

Gets a collection of SPOfficialFileHost objects.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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