CLR procedure to create entries in eventlog

Hi,

I created a SP in C# to write entries to the eventlog.

I works fin but I need to put the security level in External_Access.

Is there a way to do the same with permission level on save by making use of the
System.Diagnostics.EventLogPermission class or is externale_access to only possible way to use it.

[322 byte] By [LudofromBelgacom] at [2008-2-14]
# 1
Unfortunately you would need external access for this and you wouldnt be able to use SAFE. External Access provides you equal reliablility guarantees as SAFE but however it is a high privilege from security perspective.

Thanks,
-Vineet.

VineetRao-Microsoft at 2007-9-9 > top of Msdn Tech,SQL Server,.NET Framework inside SQL Server...

SQL Server

Site Classified