Compartilhar via


Propriedade do RDL SqlInstance

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
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 da propriedade

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