Compartir a través de


FileName Propiedad

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

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

Sintaxis

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

value = instance.FileName
[SfcPropertyAttribute]
public string FileName { get; }
[SfcPropertyAttribute]
public:
property String^ FileName {
    String^ get ();
}
[<SfcPropertyAttribute>]
member FileName : string
function get FileName () : String

Valor de la propiedad

Tipo: System. . :: . .String
A String value that specifies the name 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.