Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SmoApplication Class

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

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

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

The SmoApplication type exposes the following members.

  NameDescription
Public methodSmoApplicationInitializes a new instance of the SmoApplication class.
Top
  NameDescription
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.)
Top

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

ADD
Show:
© 2014 Microsoft. All rights reserved.