Udostępnij przez


Audit.FileName Property

Gets the name of the file in which the audit log information is recorded, when the audit destination is a file.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property FileName As String
[SfcPropertyAttribute] 
public string FileName { get; }
[SfcPropertyAttribute] 
public:
property String^ FileName {
    String^ get ();
}
/** @property */
public String get_FileName ()
public function get FileName () : String

Property Value

A String value that specifies the name of the file in which the audit log information is recorded.

Remarks

You can set the audit destination type is set using the AuditDestinationType property.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.