P
Patrick Hill
Is there a way using SMO to find out if an object exists?
I want to find out if this sp exists on the server
[dbo].[spGetActiveEmps]
I know I would have to use something like:
theserver.Databases.Item(DBName).StoredProcedures.Item([dbo].[spGetActiveEmps])
I want to find out if this sp exists on the server
[dbo].[spGetActiveEmps]
I know I would have to use something like:
theserver.Databases.Item(DBName).StoredProcedures.Item([dbo].[spGetActiveEmps])