SmoApplication SmoApplication SmoApplication Class

Definition

The SmoApplication class represents an SMO application with respect to event management.

public ref class SmoApplication
public class SmoApplication
Public Class SmoApplication
Inheritance
SmoApplicationSmoApplicationSmoApplication

Examples

Handling SMO Events

Remarks

The SmoApplication object can be used to enumerate all the instances of SQL Server that are available to the application.

Events reside on the SmoApplication object.

Constructors

SmoApplication() SmoApplication() SmoApplication()

Initializes a new instance of the SmoApplication class.

Methods

EnumAvailableSqlServers() EnumAvailableSqlServers() EnumAvailableSqlServers()

Enumerates a list of available instances of SQL Server.

EnumAvailableSqlServers(Boolean) EnumAvailableSqlServers(Boolean) EnumAvailableSqlServers(Boolean)

Enumerates a list of local available instances of SQL Server.

EnumAvailableSqlServers(String) EnumAvailableSqlServers(String) EnumAvailableSqlServers(String)

Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name.

Applies to