Audit.DestinationType Property

Gets or sets the type of destination to which the audit log information is recorded, such as a file, or an application log.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DestinationType As AuditDestinationType
    Get
    Set
'Usage
Dim instance As Audit
Dim value As AuditDestinationType

value = instance.DestinationType

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.AuditDestinationType
A AuditDestinationType object that represents the type of destination to which the audit log information is logged.