共用方式為


DestinationType 屬性

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

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property DestinationType As AuditDestinationType
    Get
    Set
'用途
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)

屬性值

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