Find a copy of the SQL Server 2000 Resource Kit.
On it, there is a tool called the "metadata scripter".
It generates a VB6 program from an AS object. You install the scripter,
which is an extension to the AM right-click menu, select the object and the
"Script" -- it generates a VB6 DSO program would will re-create the object.
In your case, a role. You set it up with AM interactively, then script out
the role.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Systems Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Seiko Pod" <maben (AT) danskebank (DOT) dk> wrote
Quote:
Thanks,
I will be a bit more specific.
I need to make a "custom rule" for a role i AS by chosing "Custom
settings", then the Advanced tab and under "Allowed Members".
How do i programatically set this "Allowed Members" option? |