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
application
Type: Microsoft.SharePoint.Administration.SPWebApplicationThe Web application.
Return value
Type: System.Collections.Generic.IList<String>
IList<T>
The site collection names.