Partager via


InstanceCollection.Item Property (String)

Gets a specific Instance object in the InstanceCollection object by name.

Espace de noms: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    name As String _
) As Instance
public Instance this [
    string name
] { get; }
public:
property Instance^ default [String^] {
    Instance^ get (String^ name);
}
/** @property */
public Instance get_Item (String name)

Paramètres

  • name
    A String value that specifies the name of the Instance object in the collection.

Valeur de propriété

A Instance object that represents an instance of Notification Services.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

InstanceCollection Class
InstanceCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Autres ressources

Configuration des instances de Notification Services
NotificationServicesInstance Element (ICF)