smo
How do I use SMO to drop and recreate all views in a Database?
I recently copied a MSSQL2000 DB to a MSSQL2008 DB. Afterwards I ran a script to update all the text/varchar fields in the tables to the same collation as the model db. However, all my copied views st[详细]
2023-01-13 21:12 分类:问答How do I obtain a list of Collections which contain Objects which Implement an Interface in C# or VB.net
I am new to .Net Programming and would like to know if Reflection is suitable for traversing an Object to discover Collections within an instance of a class.[详细]
2023-01-13 06:28 分类:问答Restart SQL Server instance using SMO
My C# application uses SMO to d开发者_JAVA百科o various things with SQL Server instance chosen by a user. Particularly, it changes authentication mode:[详细]
2023-01-13 06:20 分类:问答Cleaning up after calls to SMO Server and Database
How do you make SMO release it\'s connections? I have this code: public static class SqlServerConnectionFactory[详细]
2023-01-12 20:45 分类:问答C# Scripting - advice required please
I am developing an application to carry out pre-defined \"tasks\" on MSSQL database tables. It is really a tool to help with some repetitive data conversion/import tasks we have.[详细]
2023-01-12 15:19 分类:问答Problem in creating User in SqlServer using smo
1) If there is already a login \'user1\' then I create a user \'user1\' for database \'db1\' by callingCreateDatabaseUserfunction[详细]
2023-01-12 10:09 分类:问答Display Progress while Restoring Database with PowerShell and 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 happen[详细]
2023-01-11 02:13 分类:问答VS2010 ASP.NET Deployment
How do I deploy to a shared hosting environment... code and database (full blown SQL). What is your favorite way to get a 50MB single project ASP.NET Web Application Project开发者_如何学运维 and data[详细]
2023-01-10 09:58 分类:问答Connect to the SQL instance using VB 6.0
How I can connect开发者_Go百科 to the SQL instance using SMO with VB6.0?I don\'t think you can because Microsoft.SqlServer.Smo.dll is not an ActiveX DLL, but depending on what it is you want to do you[详细]
2023-01-10 08:05 分类:问答SQL Server SMO take back up locally from remote server
My question is straight forward, how can I program SQL SMO to take local backup, by connecting to a remote server. I want to save the bak file to a local machine which isconnecting to the remote serve[详细]
2023-01-09 08:59 分类:问答