OLAPElement
Variables of the type
OLAPElement represent an OLAP dimension
element. You can initialize such variables explicitly by using several
functions, but you can also use them as an iterator variable in
foreach statements:
OLAPConnection con = OLAPCreateConnection(
"server",
"user",
"password"
);
OLAPElementList list = OLAPGetElementList(con, "DACOUNT", true);
foreach (OLAPElement account in list
where OLAPGetStringAttribute(account, "ALRE") == "A")
{
// Do something with account.
}