For example:
create function internal.get_execution_perf_counters
(
@execution_id bigint
,@execution_guid uniqueidentifier
)
returns table
(
execution_id bigint null
,counter_name nvarchar(128) null
,counter_value bigint null
)
with execute as caller
as external name
ISSERVER.[Microsoft.SqlServer.IntegrationServices.Server.ExecPerfCounterApi].GetExecPerfCounters;
go
If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.