Export (0) Print
Expand All

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
Dim instance As SmoApplication

The SmoApplication type exposes the following members.

Public methodSmoApplicationInitializes a new instance of the SmoApplication class.

Public methodStatic memberEnumAvailableSqlServersEnumerates 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft