SmoApplication 类
The SmoApplication class represents an SMO application with respect to event management.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..SmoApplication
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Class SmoApplication
用法
Dim instance As SmoApplication
public class SmoApplication
public ref class SmoApplication
type SmoApplication = class end
public class SmoApplication
SmoApplication 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
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 | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 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.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。