阅读背景:

使用PowerShell和SMO恢复数据库时显示进度

来源:互联网 

I have a script for restoring a database with PowerShell and SMO. Now I know that I can pass a event handler into PercentComplete on the restore object and get the progress of the restore as it happens. The problem is I don't know how to create a event handler and pass it a function in PowerShell? I can do it in C#I have a script for restoring a database with P




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: