次の方法で共有


ConnectionContext プロパティ

DatabaseAuditSpecification オブジェクトの接続コンテキストを返します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<ExtendedPropertyAttribute> _
Public ReadOnly Property ConnectionContext As ServerConnection
    Get
'使用
Dim instance As DatabaseAuditSpecificationExtender
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
DatabaseAuditSpecification オブジェクトの接続コンテキストを指定する ServerConnection オブジェクトです。