Classe SmoApplication

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

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Class SmoApplication
'Utilisation
Dim instance As SmoApplication
public class SmoApplication
public ref class SmoApplication
type SmoApplication =  class end
public class SmoApplication

Le type SmoApplication expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SmoApplication Initializes a new instance of the SmoApplication class.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique EnumAvailableSqlServers() () () () Enumerates a list of available instances of SQL Server.
Méthode publiqueMembre statique EnumAvailableSqlServers(Boolean) Enumerates a list of local available instances of SQL Server.
Méthode publiqueMembre statique EnumAvailableSqlServers(String) Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Notes

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.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.