Item propriété (String)

Gets a TargetServerGroup object in the collection by name.

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

Syntaxe

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

value = instance(name)
public TargetServerGroup this[
    string name
] { get; }
public:
property TargetServerGroup^ default[String^ name] {
    TargetServerGroup^ get (String^ name);
}
member Item : TargetServerGroup
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 la propriété

Type : Microsoft.SqlServer.Management.Smo.Agent. . :: . .TargetServerGroup
A TargetServerGroup object value that represents the target server group.