Share via


Propriété AuditName

Gets the name of the database audit specification.

Cette API n'est pas conforme CLS. 

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcReferenceAttribute(GetType(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']",  _
    )> _
<CLSCompliantAttribute(False)> _
Public Property AuditName As String
    Get
    Set
'Utilisation
Dim instance As DatabaseAuditSpecification
Dim value As String

value = instance.AuditName

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

Valeur de propriété

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