Share via


ISPSiteLookupProvider15.AddSite method

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

Syntax

'Declaration
Function AddSite ( _
    info As SPSiteLookupInfo, _
    resyncMode As Boolean _
) As Integer
'Usage
Dim instance As ISPSiteLookupProvider15
Dim info As SPSiteLookupInfo
Dim resyncMode As Boolean
Dim returnValue As Integer

returnValue = instance.AddSite(info, resyncMode)
int AddSite(
    SPSiteLookupInfo info,
    bool resyncMode
)

Parameters

Return value

Type: System.Int32

See also

Reference

ISPSiteLookupProvider15 interface

ISPSiteLookupProvider15 members

Microsoft.SharePoint.Administration namespace