Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# sprocs/udfs
Message
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346095
Message ID:
01346219
Vues:
7
Michael,

Using the "context connection=true" will connect to the local db using the same credentials that the CLR procedure was invoked as.

see http://msdn.microsoft.com/en-us/library/ms131053.aspx

Kurt
>If you create a stored procedure/function in C# and compile it to the server can that dll be moved to other servers? When you create the "Sql Server" project you go through a wizard to connect and develop on a server and your connection string utilize the "context connection=true" attribute. Does this mean the dll can be moved to another server or do you need to code for grabbing a new underlying connection string at runtime?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform