次の方法で共有


SPSiteLookupProvider.GetSiteNames method (SPWebApplication)

Returns a list of all site collections in the specified Web application.

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

Syntax

'Declaration
Public MustOverride Function GetSiteNames ( _
    application As SPWebApplication _
) As IList(Of String)
'Usage
Dim instance As SPSiteLookupProvider
Dim application As SPWebApplication
Dim returnValue As IList(Of String)

returnValue = instance.GetSiteNames(application)
public abstract IList<string> GetSiteNames(
    SPWebApplication application
)

Parameters

Return value

Type: System.Collections.Generic.IList<String>
IList<T>
The site collection names.

See also

Reference

SPSiteLookupProvider class

SPSiteLookupProvider members

GetSiteNames overload

Microsoft.SharePoint.Administration namespace