Partager via


Propriété ConnectionContext

Returns the connection context for the Audit object.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<ExtendedPropertyAttribute> _
Public ReadOnly Property ConnectionContext As ServerConnection
    Get
'Utilisation
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

Valeur de propriété

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