文件名称:SMOScriptingExample
- 所属分类:
- C#编程
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 38kb
- 下载次数:
- 0次
- 提 供 者:
- azad****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
SQL Server client tools have very good functionality for creating database object scr ipts, but they don t always provide enough functionality to generate scr ipts the way programmers would like. These customized scr ipts could be used for database documentation. For that reason, database administrators and developers must code custom scr ipt generators. These generators usually generate scr ipts into text files that could be stored and versioned in a source control system. The custom generators could be created by using SMO objects. scr ipting in SMO is controlled by the scr ipter object and its child objects. A scr ipt is generated with the specified list and scr ipting options. The result is returned as a StringCollection system object.
To get started with SMO, first you must add a reference to Visual Studio. In the Add Reference window, select:
Microsoft.SqlServer.Smo
Microsoft.SqlServer.SmoExtended
Microsoft.SqlServer.Management.Sdk.Sfc
Mircorost.SqlServer.ConnectionInfo
To get started with SMO, first you must add a reference to Visual Studio. In the Add Reference window, select:
Microsoft.SqlServer.Smo
Microsoft.SqlServer.SmoExtended
Microsoft.SqlServer.Management.Sdk.Sfc
Mircorost.SqlServer.ConnectionInfo
(系统自动生成,下载前可以参看下载内容)
下载文件列表
bin\Debug\SMOScriptingExample.exe
...\.....\SMOScriptingExample.pdb
...\.....\SMOScriptingExample.vshost.exe
...\.....\SMOScriptingExample.vshost.exe.manifest
...\Release\SMOScriptingExample.exe
...\.......\SMOScriptingExample.pdb
obj\Debug\ResolveAssemblyReference.cache
...\.....\SMOScriptingExample.csproj.FileListAbsolute.txt
...\.....\SMOScriptingExample.exe
...\.....\SMOScriptingExample.pdb
...\Release\ResolveAssemblyReference.cache
...\.......\SMOScriptingExample.csproj.FileListAbsolute.txt
...\.......\SMOScriptingExample.exe
...\.......\SMOScriptingExample.pdb
Properties\AssemblyInfo.cs
DBHelper.cs
Program.cs
SMOScriptingExample.csproj
SMOScriptingExample.csproj.user
obj\Debug\Refactor
...\.....\TempPE
...\Release\Refactor
...\.......\TempPE
bin\Debug
...\Release
obj\Debug
...\Release
bin
obj
Properties
...\.....\SMOScriptingExample.pdb
...\.....\SMOScriptingExample.vshost.exe
...\.....\SMOScriptingExample.vshost.exe.manifest
...\Release\SMOScriptingExample.exe
...\.......\SMOScriptingExample.pdb
obj\Debug\ResolveAssemblyReference.cache
...\.....\SMOScriptingExample.csproj.FileListAbsolute.txt
...\.....\SMOScriptingExample.exe
...\.....\SMOScriptingExample.pdb
...\Release\ResolveAssemblyReference.cache
...\.......\SMOScriptingExample.csproj.FileListAbsolute.txt
...\.......\SMOScriptingExample.exe
...\.......\SMOScriptingExample.pdb
Properties\AssemblyInfo.cs
DBHelper.cs
Program.cs
SMOScriptingExample.csproj
SMOScriptingExample.csproj.user
obj\Debug\Refactor
...\.....\TempPE
...\Release\Refactor
...\.......\TempPE
bin\Debug
...\Release
obj\Debug
...\Release
bin
obj
Properties