Sample Header Ad - 728x90

Add signature to stored procedure using PowerShell SMO

1 vote
0 answers
68 views
I want to add a signature to a stored procedure using PowerShell SMO. The equivalent command in TSQL is: ADD SIGNATURE TO [myprocedure] BY CERTIFICATE [mycertificate] with password = 'CertificatePW' How do I do this using PowerShell SMO without having to resort to using any form of TSQL?
Asked by Louie (131 rep)
Feb 6, 2019, 12:17 AM