共用方式為


ServerAuditSpecificationExtender.ConnectionContext 屬性

Returns the connection context for the ServerAuditSpecification object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<ExtendedPropertyAttribute> _
Public ReadOnly Property ConnectionContext As ServerConnection 
    Get
'用途
Dim instance As ServerAuditSpecificationExtender 
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 ServerAuditSpecification object.

請參閱

參考

ServerAuditSpecificationExtender 類別

Microsoft.SqlServer.Management.Smo 命名空間