Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the instance of SQL Server on which the event occurred.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Property SqlInstance As String
Get
'Usage
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
Property Value
Type: System.String
A String value that specifies the name of the instance of SQL Server on which the event occurred.