Propriété ExtendedPropertyCollection.Item (String)

Gets an ExtendedProperty object in the collection by name.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ExtendedProperty 
    Get
'Utilisation
Dim instance As ExtendedPropertyCollection 
Dim name As String 
Dim value As ExtendedProperty 

value = instance(name)
public ExtendedProperty this[
    string name
] { get; }
public:
property ExtendedProperty^ default[String^ name] {
    ExtendedProperty^ get (String^ name);
}
member Item : ExtendedProperty
JScript prend en charge l'utilisation de propriétés indexées, mais pas la déclaration de nouvelles propriétés.

Paramètres

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.ExtendedProperty
An ExtendedProperty object value that represents the extended property.

Exemples

Utilisation de collections

Voir aussi

Référence

ExtendedPropertyCollection Classe

Surcharge Item

Espace de noms Microsoft.SqlServer.Management.Smo