SqlInstance 属性

Gets the instance of SQL Server on which the event occurred.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public ReadOnly Property SqlInstance As String
    Get
用法
Dim instance As ServerEventArgs
Dim value As String

value = instance.SqlInstance
public string SqlInstance { get; }
public:
property String^ SqlInstance {
    String^ get ();
}
member SqlInstance : string
function get SqlInstance () : String

属性值

类型:System. . :: . .String
A String value that specifies the name of the instance of SQL Server on which the event occurred.