SPSiteSubscription.GetSites method (SPWebApplication)
Recupera os conjuntos de sites que pertencem à inscrição de site no aplicativo da Web especificado.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function GetSites ( _
webApplication As SPWebApplication _
) As SPSiteSubscriptionSiteCollection
'Uso
Dim instance As SPSiteSubscription
Dim webApplication As SPWebApplication
Dim returnValue As SPSiteSubscriptionSiteCollection
returnValue = instance.GetSites(webApplication)
public SPSiteSubscriptionSiteCollection GetSites(
SPWebApplication webApplication
)
Parâmetros
webApplication
Type: Microsoft.SharePoint.Administration.SPWebApplicationO aplicativo da Web.
Valor retornado
Type: Microsoft.SharePoint.SPSiteSubscriptionSiteCollection
SPSiteSubscriptionSiteCollection
Os conjuntos de sites que pertencem à inscrição de site.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | O aplicativo Web especificado não existe. |