PortalSite.Restore Method

NOTE: This API is now obsolete.

Obsolete.

Namespace:  Microsoft.SharePoint.Portal.Topology
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute> _
Public Shared Function Restore ( _
    portalUrl As String, _
    virtualServerUri As Uri, _
    siteDatabaseServer As String, _
    siteDatabaseName As String, _
    profileDatabaseServer As String, _
    profileDatabaseName As String, _
    serviceDatabaseServer As String, _
    serviceDatabaseName As String _
) As PortalSite
'Usage
Dim portalUrl As String
Dim virtualServerUri As Uri
Dim siteDatabaseServer As String
Dim siteDatabaseName As String
Dim profileDatabaseServer As String
Dim profileDatabaseName As String
Dim serviceDatabaseServer As String
Dim serviceDatabaseName As String
Dim returnValue As PortalSite

returnValue = PortalSite.Restore(portalUrl, _
    virtualServerUri, siteDatabaseServer, _
    siteDatabaseName, profileDatabaseServer, _
    profileDatabaseName, serviceDatabaseServer, _
    serviceDatabaseName)
[ObsoleteAttribute]
public static PortalSite Restore(
    string portalUrl,
    Uri virtualServerUri,
    string siteDatabaseServer,
    string siteDatabaseName,
    string profileDatabaseServer,
    string profileDatabaseName,
    string serviceDatabaseServer,
    string serviceDatabaseName
)

Parameters

Return Value

Type: Microsoft.SharePoint.Portal.Topology.PortalSite

See Also

Reference

PortalSite Class

PortalSite Members

Microsoft.SharePoint.Portal.Topology Namespace