Свойство 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.