Compartir a través de


SqlInstance Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property SqlInstance As String
    Get
'Uso
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

Valor de la propiedad

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