Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Thu, 12 Jun 2008 12:52:23 -0400,    group: microsoft.public.vstudio.development        back       


Deploying CLR to a schema   
When creating a Sql Server CLR project in Visual Studio 2008, is there any 
way to specify the schema that an object (function, sproc, etc) should be 
created in when deploying the project?

I'm thinking an Attribute on the function, something like...

<ObjectSchema("MYSCHEMA")> Public Function Something() As SqlString
    ... code ...
End Function

Is there anything like this?
Thanks in advance,
Arthur Dent.
date: Thu, 12 Jun 2008 12:52:23 -0400   author:   Arthur Dent

Re: Deploying CLR to a schema   
I'm pretty certain VS don't have that ability. But check out Niels' tool which according to his text 
can do this:
http://nielsb.wordpress.com/sqlclrproject/

-- 
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Arthur Dent"  wrote in message news:u$U1xyKzIHA.3504@TK2MSFTNGP06.phx.gbl...
> When creating a Sql Server CLR project in Visual Studio 2008, is there any way to specify the 
> schema that an object (function, sproc, etc) should be created in when deploying the project?
>
> I'm thinking an Attribute on the function, something like...
>
> <ObjectSchema("MYSCHEMA")> Public Function Something() As SqlString
>    ... code ...
> End Function
>
> Is there anything like this?
> Thanks in advance,
> Arthur Dent.
date: Thu, 12 Jun 2008 21:53:18 +0200   author:   Tibor Karaszi

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us