dbTalk Databases Forums  

Re: User Defined Function... Can it be written as a class library in VB.Net?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Re: User Defined Function... Can it be written as a class library in VB.Net? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mosha Pasumansky [MS]
 
Posts: n/a

Default Re: User Defined Function... Can it be written as a class library in VB.Net? - 08-18-2003 , 11:25 PM






UDFs have to be COM-Automation, i.e. expose IDispatch.

--
==================================================
Mosha Pasumansky - www.mosha.com/msolap
Development Lead in the Analysis Server team
All you need is love (John Lennon)
Disclaimer : This posting is provided "AS IS" with no warranties, and
confers no rights.
==================================================
"Eric Bowden" <ehbowden (AT) nospamyahoo (DOT) com> wrote

Quote:

Hello all,

I have a user defined function I want to register to use in a calculated
member.

The only catch is that instead of being a VB 6 Active X dll, its a vbdot
net
class library (also has .dll extension)

When I tried to register in the Analysis services, it gave me an error.

Can a UDF be written using VB dot net?

Thanks

Eric Bowden





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.