Udostępnij przez


Audit.FilePath Property

Gets or sets the location of the folder where the audit file is stored when the audit type is a file.

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

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public Property FilePath As String
[SfcPropertyAttribute] 
public string FilePath { get; set; }
[SfcPropertyAttribute] 
public:
property String^ FilePath {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_FilePath ()

/** @property */
public void set_FilePath (String value)
public function get FilePath () : String

public function set FilePath (value : String)

Property Value

A String value that specifies the path 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.