Propriété Item (String)
Gets a UserDefinedAggregate 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 UserDefinedAggregate
Get
'Utilisation
Dim instance As UserDefinedAggregateCollection
Dim name As String
Dim value As UserDefinedAggregate
value = instance(name)
public UserDefinedAggregate this[
string name
] { get; }
public:
property UserDefinedAggregate^ default[String^ name] {
UserDefinedAggregate^ get (String^ name);
}
member Item : UserDefinedAggregate
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 UserDefinedAggregate object in the UserDefinedAggregateCollection collection.
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo. . :: . .UserDefinedAggregate
A UserDefinedAggregate object value that represents the database user-defined aggregate.