Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ServerAuditSpecification Constructor

 

Applies To: SQL Server 2016 Preview

Initializes a new instance of the ServerAuditSpecification class.

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

NameDescription
System_CAPS_pubmethodServerAuditSpecification()

Initializes a new instance of the ServerAuditSpecification class.

System_CAPS_pubmethodServerAuditSpecification(Server, String)

Initializes a new instance of the ServerAuditSpecification class on the specified server and with the specified name.

Return to top

ServerAuditSpecification Constructor ()

Initializes a new instance of the ServerAuditSpecification class.

public ServerAuditSpecification()

The default constructor initializes any fields to their default values.

Return to top

ServerAuditSpecification Constructor (Server, String)

Initializes a new instance of the ServerAuditSpecification class on the specified server and with the specified name.

public ServerAuditSpecification(
	Server server,
	string name
)

Parameters

server
Type: Microsoft.SqlServer.Management.Smo.Server

A Server object value that specifies the database on which to create the ServerAuditSpecification object.

name
Type: System.String

A String object value that specifies a name for the server audit specification.

Return to top
Show:
© 2015 Microsoft