Freigeben über


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
Öffentliche Methode SmoApplication Initializes a new instance of the SmoApplication class.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element EnumAvailableSqlServers() () () () Enumerates a list of available instances of SQL Server.
Öffentliche MethodeStatisches Element EnumAvailableSqlServers(Boolean) Enumerates a list of local available instances of SQL Server.
Öffentliche MethodeStatisches Element EnumAvailableSqlServers(String) Enumerates a list of available instances of SQL Server that are installed on the computer with the specified instance name.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode 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.