共用方式為


ServerAuditSpecification.AuditName 屬性

Gets the name of the server 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 ServerAuditSpecification 
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 server audit specification.

請參閱

參考

ServerAuditSpecification 類別

Microsoft.SqlServer.Management.Smo 命名空間