ConnectionContext 屬性
Returns the connection context for the Audit object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property ConnectionContext As ServerConnection
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object that specifies the connection context for the Audit object.