Restores the iPod's database from the given file. Use with care - no checking is done to ensure this is a valid iTunesDB, ArtworkDB. See GetBackups() for available backups


Namespace: SharePodLib
Assembly: SharePodLib (in SharePodLib.dll)

Syntax

Visual Basic (Declaration)
Public Shared Sub RestoreDatabase( _ 
   ByVal iPod As IPod,  _ 
   ByVal filename As String _ 
)
C#
public static void RestoreDatabase(
   IPod iPod,
   string filename
)
C++
public:
 static void RestoreDatabase(
   IPod iPod,
   String filename
)
J#
public static void RestoreDatabase(
   IPod iPod,
   string filename
)
JScript
public static  function RestoreDatabase(
   iPod : IPod,
   filename : String
)

See Also