< Back

Get-DataConnectionHistory

Tue Jan 14, 2020 1:24 am

NAME Get-DataConnectionHistory



SYNOPSIS

Gets open database connections in the current session.





SYNTAX

Get-DataConnectionHistory [<CommonParameters>]





DESCRIPTION

The Get-DataConnectionHistory cmdlet gets open database connections in the current session that you have opened

explicitly by the New-DataConnection cmdlet, or implicitly by the other cmdlets you invoked.



This cmdlet is useful when you need to investigate untracked open connections causing a trouble (acquiring a file

lock, for example).





PARAMETERS

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

System.Data.Common.DbConnection







RELATED LINKS