ServerAuditSpecificationCollection.Item[String] ServerAuditSpecificationCollection.Item[String] ServerAuditSpecificationCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a ServerAuditSpecification object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a ServerAuditSpecification object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets a ServerAuditSpecification object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::ServerAuditSpecification ^ default[int] { Microsoft::SqlServer::Management::Smo::ServerAuditSpecification ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.ServerAuditSpecification this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As ServerAuditSpecification
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the ServerAuditSpecification object in the ServerAuditSpecificationCollection collection.

Property Value

A ServerAuditSpecification object value that represents the server audit specification.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a ServerAuditSpecification object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::ServerAuditSpecification ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::ServerAuditSpecification ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.ServerAuditSpecification this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As ServerAuditSpecification
Parameters
name
String String String

A String value that specifies the name of the ServerAuditSpecification object in the ServerAuditSpecificationCollection collection.

Property Value

A ServerAuditSpecification object value that represents the database audit specification.

Examples

Using Collections

Applies to