SmoApplication Class

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Class SmoApplication
'Usage
Dim instance As SmoApplication
public class SmoApplication
public ref class SmoApplication
type SmoApplication =  class end
public class SmoApplication

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.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.SmoApplication

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.