Server.EnumProcesses Method

Enumerates a list of processes running on the instance of Microsoft SQL Server.

Remarks

Updated text:

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
Server.EnumProcesses ()
Enumerates a list of processes running on the instance of Microsoft SQL Server.
Server.EnumProcesses (Boolean)
Enumerates a list of processes running on the instance of Microsoft SQL Server with the option to exclude system processes.
Server.EnumProcesses (Int32)
Enumerates a list of information about the specified process.
Server.EnumProcesses (String)
Enumerates a list of processes running on the instance of Microsoft SQL Server that are associated with the specified login.

See Also

Reference

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

How to: Use an Enumeration Method that Returns a DataTable Object in Visual Basic .NET
Calling Methods
Managing Servers
sys.sysprocesses (Transact-SQL)

Change History

Release

History

New content:
  • Added code sample to the Example section.

  • Added to the description in the Remarks section.