共用方式為


FileName 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property FileName As String
    Get
'用途
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

屬性值

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

備註

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