IScriptFactory.CreateNewScript 方法

定义

重载

CreateNewScript(String, UIConnectionGroupInfo, IDbConnection)
CreateNewScript(String, UIConnectionInfo, IDbConnection)
CreateNewScript(String, UIConnectionGroupInfo, IDbConnection, String)
CreateNewScript(String, UIConnectionInfo, IDbConnection, String)

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
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
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

返回

适用于