SmoApplication Class
Collapse the table of content
Expand the table of content

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)

public class SmoApplication

The SmoApplication type exposes the following members.

Public methodSmoApplicationInitializes a new instance of the SmoApplication class.

Public methodStatic memberEnumAvailableSqlServers()Enumerates a list of available instances of SQL Server.
Public methodStatic memberEnumAvailableSqlServers(Boolean)Enumerates a list of local available instances of SQL Server.
Public methodStatic memberEnumAvailableSqlServers(String)Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.

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

Community Additions

© 2016 Microsoft