Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the name of the server audit specification.
This API is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
<SfcReferenceAttribute(GetType(Audit), "Server[@Name = '{0}']/Audit[@Name = '{1}']", _
)> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property AuditName As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String system value that specifies the name of the server audit specification.