Share via


ServerMessageEventArgs.ConnectionInfo Property

Gets the connection info of the connection producing the result.

Namespace:  Microsoft.SqlServer.Management.MultiServerConnection
Assembly:  Microsoft.SqlServer.Management.MultiServerConnection (in Microsoft.SqlServer.Management.MultiServerConnection.dll)

Syntax

'Declaration
Public ReadOnly Property ConnectionInfo As UIConnectionInfo
    Get
'Usage
Dim instance As ServerMessageEventArgs
Dim value As UIConnectionInfo

value = instance.ConnectionInfo
public UIConnectionInfo ConnectionInfo { get; }
public:
virtual property UIConnectionInfo^ ConnectionInfo {
    UIConnectionInfo^ get () sealed;
}
abstract ConnectionInfo : UIConnectionInfo
override ConnectionInfo : UIConnectionInfo
final function get ConnectionInfo () : UIConnectionInfo

Property Value

Type: Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo
Contains the connection information for the server where the batch was executed.

Implements

IResultInfo.ConnectionInfo