AuditExtender.ConnectionContext Property

Returns the connection context for the Audit object.

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

Syntax

'Declaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property ConnectionContext As ServerConnection
    Get
'Usage
Dim instance As AuditExtender
Dim value As ServerConnection

value = instance.ConnectionContext
[ExtendedPropertyAttribute]
public ServerConnection ConnectionContext { get; }
[ExtendedPropertyAttribute]
public:
property ServerConnection^ ConnectionContext {
    ServerConnection^ get ();
}
[<ExtendedPropertyAttribute>]
member ConnectionContext : ServerConnection
function get ConnectionContext () : ServerConnection

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object that specifies the connection context for the Audit object.