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 a DatabaseAuditSpecification object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As DatabaseAuditSpecification
Get
'Usage
Dim instance As DatabaseAuditSpecificationCollection
Dim name As String
Dim value As DatabaseAuditSpecification
value = instance(name)
public DatabaseAuditSpecification this[
string name
] { get; }
public:
property DatabaseAuditSpecification^ default[String^ name] {
DatabaseAuditSpecification^ get (String^ name);
}
member Item : DatabaseAuditSpecification
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the DatabaseAuditSpecification object in the DatabaseAuditSpecificationCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseAuditSpecification
A DatabaseAuditSpecification object value that represents the database audit specification.