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)
Available in Sandboxed Solutions: No
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.