Get SQL Server Connections (Data On Demand)

Community.DataOnDemand.SQL.Legacy.AgentTask.GetSqlServerConnections (Task)

Lists all open connections to the SQL instance, and the databases that are in use by those connections.

Element properties:

TargetMicrosoft.SQLServer.DBEngine
AccessibilityPublic
CategoryOperations
EnabledTrue
RemotableFalse
Timeout240

Member Modules:

ID Module Type TypeId RunAs 
Probe ProbeAction Community.DataOnDemand.SQL.Legacy.Probe.SQLServerConnections Default

Source Code:

<Task ID="Community.DataOnDemand.SQL.Legacy.AgentTask.GetSqlServerConnections" Accessibility="Public" Timeout="240" Enabled="true" Remotable="true" Target="MSSQL!Microsoft.SQLServer.DBEngine">
<Category>Operations</Category>
<ProbeAction ID="Probe" TypeID="Community.DataOnDemand.SQL.Legacy.Probe.SQLServerConnections">
<DatabaseServer>$Target/Property[Type='MSSQL!Microsoft.SQLServer.DBEngine']/ConnectionString$</DatabaseServer>
</ProbeAction>
</Task>