Share via


Audit.EnumServerAuditSpecification Method

Returns the name of the referenced server audit specification.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumServerAuditSpecification As String
'Usage
Dim instance As Audit
Dim returnValue As String

returnValue = instance.EnumServerAuditSpecification()
public string EnumServerAuditSpecification()
public:
String^ EnumServerAuditSpecification()
member EnumServerAuditSpecification : unit -> string 
public function EnumServerAuditSpecification() : String

Return Value

Type: System.String
A String objects that contains the name of the server audit specification.