Item propriété (String)
Gets a DatabaseAuditSpecification object in the collection by name.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
name As String _
) As DatabaseAuditSpecification
Get
'Utilisation
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 prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.
Paramètres
- name
Type : System. . :: . .String
A String value that specifies the name of the DatabaseAuditSpecification object in the DatabaseAuditSpecificationCollection collection.
Valeur de la propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .DatabaseAuditSpecification
A DatabaseAuditSpecification object value that represents the database audit specification.