Share via


DatabaseAuditSpecification.AuditName 속성

Gets the name of the database audit specification.

이 API는 CLS 규격이 아닙니다. 

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuditName As String 
    Get 
    Set
‘사용 방법
Dim instance As DatabaseAuditSpecification 
Dim value As String 

value = instance.AuditName

instance.AuditName = value
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string AuditName { get; set; }
[CLSCompliantAttribute(false)]
[SfcReferenceAttribute(typeof(Audit), L"Server[@Name = '{0}']/Audit[@Name = '{1}']", 
    )]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ AuditName {
    String^ get ();
    void set (String^ value);
}
[<CLSCompliantAttribute(false)>]
[<SfcReferenceAttribute(typeof(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']", 
    )>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member AuditName : string with get, set
function get AuditName () : String 
function set AuditName (value : String)

속성 값

유형: System.String
A String system value that specifies the name of the database audit specification.

참고 항목

참조

DatabaseAuditSpecification 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스