共用方式為


SPWebApplication.OfficialFileHosts property

取得SPOfficialFileHost物件的集合。

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

Syntax

'宣告
Public ReadOnly Property OfficialFileHosts As Collection(Of SPOfficialFileHost)
    Get
'用途
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>
Collection<T> 物件,代表一般的集合。

備註

如果集合不存在,這個屬性會建立,並取得一份新。

請參閱

參照

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace