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 | |
---|---|---|
SmoApplication | Initializes a new instance of the SmoApplication class. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
EnumAvailableSqlServers() () () () | Enumerates a list of available instances of SQL Server. | |
EnumAvailableSqlServers(Boolean) | Enumerates a list of local available instances of SQL Server. | |
EnumAvailableSqlServers(String) | Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name. | |
Equals | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de Object.) | |
MemberwiseClone | (hérité de Object.) | |
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.