Share via


Audit.Filter Property

Gets or sets the filter of the audit.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Filter As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
The filter of the audit.

See Also

Reference

Audit Class

Microsoft.SqlServer.Management.Smo Namespace