Propriété SqlInstance
Gets the instance of SQL Server on which the event occurred.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property SqlInstance As String
Get
'Utilisation
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
Valeur de propriété
Type : System. . :: . .String
A String value that specifies the name of the instance of SQL Server on which the event occurred.