共用方式為


Audit.Filter 屬性

Gets or sets the filter of the audit.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Filter As String 
    Get 
    Set
'用途
Dim instance As Audit 
Dim value As String 

value = instance.Filter

instance.Filter = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Filter { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Filter {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Filter : string with get, set
function get Filter () : String 
function set Filter (value : String)

屬性值

型別:System.String
The filter of the audit.

請參閱

參考

Audit 類別

Microsoft.SqlServer.Management.Smo 命名空間