Partilhar via


SqlScriptPublishModel Constructors

Definition

Overloads

SqlScriptPublishModel(String)

Constructor with connection string (VS/Powershell)

SqlScriptPublishModel(SqlConnectionInfo, String, IScriptPublishOptions)

Constructor for SSMS context.

SqlScriptPublishModel(SqlConnectionInfo, String, IScriptingOptions)

SqlScriptPublishModel(String)

Constructor with connection string (VS/Powershell)

public SqlScriptPublishModel (string connectionString);
new Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel : string -> Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel
Public Sub New (connectionString As String)

Parameters

connectionString
String

connection string

Applies to

SqlScriptPublishModel(SqlConnectionInfo, String, IScriptPublishOptions)

Constructor for SSMS context.

public SqlScriptPublishModel (Microsoft.SqlServer.Management.Common.SqlConnectionInfo sqlConnectionInfo, string databaseName, Microsoft.SqlServer.Management.SqlScriptPublish.IScriptPublishOptions shellScriptingOptions);
new Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel : Microsoft.SqlServer.Management.Common.SqlConnectionInfo * string * Microsoft.SqlServer.Management.SqlScriptPublish.IScriptPublishOptions -> Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel
Public Sub New (sqlConnectionInfo As SqlConnectionInfo, databaseName As String, shellScriptingOptions As IScriptPublishOptions)

Parameters

sqlConnectionInfo
SqlConnectionInfo

SQL connection info

databaseName
String

database name

shellScriptingOptions
IScriptPublishOptions

Default shell scripting options

Applies to

SqlScriptPublishModel(SqlConnectionInfo, String, IScriptingOptions)

public SqlScriptPublishModel (Microsoft.SqlServer.Management.Common.SqlConnectionInfo sqlConnectionInfo, string databaseName, Microsoft.SqlServer.Management.UI.VSIntegration.IScriptingOptions shellScriptingOptions);
new Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel : Microsoft.SqlServer.Management.Common.SqlConnectionInfo * string * Microsoft.SqlServer.Management.UI.VSIntegration.IScriptingOptions -> Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishModel
Public Sub New (sqlConnectionInfo As SqlConnectionInfo, databaseName As String, shellScriptingOptions As IScriptingOptions)

Parameters

sqlConnectionInfo
SqlConnectionInfo
databaseName
String
shellScriptingOptions
IScriptingOptions

Applies to