|
Get A List Of All OLEDB Providers In SQL Server
SQL Server provides with a stored procedure which can be used to get a list of all OLEDB providers on a machine.
Stored procedure:
xp_enum_oledb_providers
Executing this stored procedure which is in master database with the following statement
EXEC master..xp_enum_oledb_providers
gives a list of all available OLEDB providers on my machine.
Get A List Of Running Processes Using C# – Code Snippet
This code will retrieve a list of currently running process on a machine and write their names to console.
// Get A List of process using
// System.Diagnostics.Process class
List<Process> processes = Process.GetProcesses().ToList();
// Write them out to Console
processes.ForEach(x => Console.WriteLine(x.ProcessName));
Get Updates By Email
Popular Post
Tag Cloud
Code Snippets
- Get Current Windows User In C#
- Get Width And Height Of Image In C#
- Get Windows Registry Size With WMI And C#
- Reverse Array Elements Using C#
- Convert Hexadecimal To Number In C#
- Get Free Disk Space Using T-SQL
- SQL Server 2008 – Get All Indexes In A Database
- Get Name Of Current Executing Assembly In C#
- Get CD Or DVD Drive Information Using WMI And C#
- Get Last Row From Table Using LINQ To SQL

