TargetServerGroupCollection.Item Propiedad (String)
Gets a TargetServerGroup object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As TargetServerGroup
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the TargetServerGroup object in the TargetServerGroupCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroup
A TargetServerGroup object value that represents the target server group.