다음을 통해 공유


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.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.