Export (0) Print
Expand All

SmoApplication Class

 

Applies To: SQL Server 2016 Preview

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)

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

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodSmoApplication()

Initializes a new instance of the SmoApplication class.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticEnumAvailableSqlServers()

Enumerates a list of available instances of SQL Server.

System_CAPS_pubmethodSystem_CAPS_staticEnumAvailableSqlServers(Boolean)

Enumerates a list of local available instances of SQL Server.

System_CAPS_pubmethodSystem_CAPS_staticEnumAvailableSqlServers(String)

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

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Legacy Code Example

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

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft