-
Notifications
You must be signed in to change notification settings - Fork 0
Disconnect SQLite
Marco van Gaal edited this page Aug 5, 2015
·
12 revisions
Disconnect-SQLite
Disconnects from database file
-Connection <SQLiteConnection>
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Dispose [<SwitchParameter>]
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<SQLiteConnection>
None.
Author: Proxx
Web: www.Proxx.nl
Date: 10-06-2015
-------------------------- EXAMPLE 1 --------------------------
PS C:\>Disconnect-SQLite <System.Data.SQLite.SQLiteConnection>
-------------------------- EXAMPLE 2 --------------------------
PS C:\>Disconnect-SQLite -Connection <System.Data.SQLite.SQLiteConnection> -Dispose
Close the connection and disposes the object.
-------------------------- EXAMPLE 3 --------------------------
PS C:\><SQLiteConnection> | Disconnect-SQLite