UserDefinedAggregateCollection.Item[String, String] UserDefinedAggregateCollection.Item[String, String] UserDefinedAggregateCollection.Item[String, String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedAggregate object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a UserDefinedAggregate object in the collection by name.

Item[String, String] Item[String, String] Item[String, String]

Gets a UserDefinedAggregate object in the collection by name and schema.

Item[Int32] Item[Int32] Item[Int32]

Gets a UserDefinedAggregate object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ default[int] { Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.UserDefinedAggregate this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As UserDefinedAggregate
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the UserDefinedAggregate object in the UserDefinedAggregateCollection collection.

Property Value

A UserDefinedAggregate object value that represents the database user-defined aggregate.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a UserDefinedAggregate object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.UserDefinedAggregate this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As UserDefinedAggregate
Parameters
name
String String String

A String value that specifies the name of the UserDefinedAggregate object in the UserDefinedAggregateCollection collection.

Property Value

A UserDefinedAggregate object value that represents the database user-defined aggregate.

Examples

Using Collections

Item[String, String] Item[String, String] Item[String, String]

Gets a UserDefinedAggregate object in the collection by name and schema.

public:
 property Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ default[System::String ^, System::String ^] { Microsoft::SqlServer::Management::Smo::UserDefinedAggregate ^ get(System::String ^ name, System::String ^ schema); };
public Microsoft.SqlServer.Management.Smo.UserDefinedAggregate this[string name, string schema] { get; }
Default Public ReadOnly Property Item(name As String, schema As String) As UserDefinedAggregate
Parameters
name
String String String

A String value that specifies the name of the UserDefinedAggregate object in the UserDefinedAggregateCollection collection.

schema
String String String

A String value that specifies the schema of the user-defined aggregate.

Property Value

A UserDefinedAggregate object value that represents the database user-defined aggregate.

Examples

Using Collections

Applies to