erver = New Server() svr.ConnectionContext.NonPooledConnection = True svr.ConnectionContext.Connect() Console.Writeline(svr.Name & " " & svr.Information.VersionString) svr.ConnectionContext.Disconnect() Profiler观察器将会显示下面信息:
好了,此文到此为止,下文将会更加深入的了解SMO对象,并应用其做一些简单的备份、恢复等操作
该文来自英文文章- http://www.sqldbatips.com/showarticle.asp?ID=37
上一页 [1] [2] |