次の方法で共有


ITopologyWebServiceApplication.EnumerateSharedServiceApplications method

Enumerates the [Microsof.SharePoint.SPServiceApplication] objects that are shared by the SharePoint website farm.

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

Syntax

'Declaration
<FaultContractAttribute(GetType(SPTopologyWebServiceApplicationFault))> _
<OperationContractAttribute> _
Function EnumerateSharedServiceApplications As ReadOnlyCollection(Of SPSharedServiceApplicationInfo)
'Usage
Dim instance As ITopologyWebServiceApplication
Dim returnValue As ReadOnlyCollection(Of SPSharedServiceApplicationInfo)

returnValue = instance.EnumerateSharedServiceApplications()
[FaultContractAttribute(typeof(SPTopologyWebServiceApplicationFault))]
[OperationContractAttribute]
ReadOnlyCollection<SPSharedServiceApplicationInfo> EnumerateSharedServiceApplications()

Return value

Type: System.Collections.ObjectModel.ReadOnlyCollection<SPSharedServiceApplicationInfo>
A ReadOnlyCollection<T> of [Microsoft.SharePoint.SPSharedServiceApplicationInfo] objects that are shared by this SharePoint website farm.

See also

Reference

ITopologyWebServiceApplication interface

ITopologyWebServiceApplication members

Microsoft.SharePoint namespace