SmoApplication-Klasse
The SmoApplication class represents an SMO application with respect to event management.
Vererbungshierarchie
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..SmoApplication
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Class SmoApplication
'Usage
Dim instance As SmoApplication
public class SmoApplication
public ref class SmoApplication
type SmoApplication = class end
public class SmoApplication
Der SmoApplication-Typ macht folgende Elemente verfügbar.
Konstruktoren
Name | Beschreibung | |
---|---|---|
SmoApplication | Initializes a new instance of the SmoApplication class. |
Zum Anfang
Methoden
Name | Beschreibung | |
---|---|---|
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 | (Geerbt von Object.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von Object.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von Object.) |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.