Compartir a través de


FilePath Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute> _
Public Property FilePath As String
    Get
    Set
'Uso
Dim instance As Audit
Dim value As String

value = instance.FilePath

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

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the path of the file in which the audit log information is recorded.

Notas

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