IScriptFactory.CreateNewScript 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CreateNewScript(String, UIConnectionGroupInfo, IDbConnection)
public:
System::Object ^ CreateNewScript(System::String ^ strFullPathToScript, Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ group, System::Data::IDbConnection ^ liveCon);
public object CreateNewScript (string strFullPathToScript, Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo group, System.Data.IDbConnection liveCon);
abstract member CreateNewScript : string * Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * System.Data.IDbConnection -> obj
Public Function CreateNewScript (strFullPathToScript As String, group As UIConnectionGroupInfo, liveCon As IDbConnection) As Object
参数
- strFullPathToScript
- String
- group
- UIConnectionGroupInfo
- liveCon
- IDbConnection
返回
适用于
CreateNewScript(String, UIConnectionInfo, IDbConnection)
public:
System::Object ^ CreateNewScript(System::String ^ strFullPathToScript, Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, System::Data::IDbConnection ^ liveCon);
public object CreateNewScript (string strFullPathToScript, Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, System.Data.IDbConnection liveCon);
abstract member CreateNewScript : string * Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * System.Data.IDbConnection -> obj
Public Function CreateNewScript (strFullPathToScript As String, ci As UIConnectionInfo, liveCon As IDbConnection) As Object
参数
- strFullPathToScript
- String
- liveCon
- IDbConnection
返回
适用于
CreateNewScript(String, UIConnectionGroupInfo, IDbConnection, String)
public:
System::Object ^ CreateNewScript(System::String ^ strFullPathToScript, Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionGroupInfo ^ group, System::Data::IDbConnection ^ liveCon, System::String ^ fileRoot);
public object CreateNewScript (string strFullPathToScript, Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo group, System.Data.IDbConnection liveCon, string fileRoot);
abstract member CreateNewScript : string * Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionGroupInfo * System.Data.IDbConnection * string -> obj
Public Function CreateNewScript (strFullPathToScript As String, group As UIConnectionGroupInfo, liveCon As IDbConnection, fileRoot As String) As Object
参数
- strFullPathToScript
- String
- group
- UIConnectionGroupInfo
- liveCon
- IDbConnection
- fileRoot
- String
返回
适用于
CreateNewScript(String, UIConnectionInfo, IDbConnection, String)
public:
System::Object ^ CreateNewScript(System::String ^ strFullPathToScript, Microsoft::SqlServer::Management::Smo::RegSvrEnum::UIConnectionInfo ^ ci, System::Data::IDbConnection ^ liveCon, System::String ^ fileRoot);
public object CreateNewScript (string strFullPathToScript, Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo ci, System.Data.IDbConnection liveCon, string fileRoot);
abstract member CreateNewScript : string * Microsoft.SqlServer.Management.Smo.RegSvrEnum.UIConnectionInfo * System.Data.IDbConnection * string -> obj
Public Function CreateNewScript (strFullPathToScript As String, ci As UIConnectionInfo, liveCon As IDbConnection, fileRoot As String) As Object
参数
- strFullPathToScript
- String
- liveCon
- IDbConnection
- fileRoot
- String