UserDefinedAggregate UserDefinedAggregate UserDefinedAggregate Constructors

Definition

Overloads

UserDefinedAggregate() UserDefinedAggregate() UserDefinedAggregate()

Initializes a new instance of the UserDefinedAggregate class.

UserDefinedAggregate(Database, String) UserDefinedAggregate(Database, String)

Initializes a new instance of the UserDefinedAggregate class on the specified database and with the specified name.

UserDefinedAggregate(Database, String, String) UserDefinedAggregate(Database, String, String)

Initializes a new instance of the UserDefinedAggregate class on the specified database and with the specified name and schema.

UserDefinedAggregate() UserDefinedAggregate() UserDefinedAggregate()

Initializes a new instance of the UserDefinedAggregate class.

public:
 UserDefinedAggregate();
public UserDefinedAggregate ();
Public Sub New ()

Examples

Calling Methods

UserDefinedAggregate(Database, String) UserDefinedAggregate(Database, String)

Initializes a new instance of the UserDefinedAggregate class on the specified database and with the specified name.

public:
 UserDefinedAggregate(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name);
public UserDefinedAggregate (Microsoft.SqlServer.Management.Smo.Database database, string name);
Parameters
database
Database Database Database

A Database object that specifies the database on which the user-defined aggregate belongs.

name
String String String

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

Examples

Calling Methods

See Also

UserDefinedAggregate(Database, String, String) UserDefinedAggregate(Database, String, String)

Initializes a new instance of the UserDefinedAggregate class on the specified database and with the specified name and schema.

public:
 UserDefinedAggregate(Microsoft::SqlServer::Management::Smo::Database ^ database, System::String ^ name, System::String ^ schema);
public UserDefinedAggregate (Microsoft.SqlServer.Management.Smo.Database database, string name, string schema);
Parameters
database
Database Database Database

A Database object that specifies the database on which the user-defined aggregate belongs.

name
String String String

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

schema
String String String

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

Examples

How to: Construct an Object in Visual Basic .NET

Applies to