MoveSchemaReferenceContributorInput Constructor (String, String, ISqlModelElement, Boolean, Boolean)
Initializes a new instance of the MoveSchemaReferenceContributorInput class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Sql.Refactoring.MoveSchema
Assembly: Microsoft.VisualStudio.Data.Schema.Project.Sql (in Microsoft.VisualStudio.Data.Schema.Project.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
oldSchema As String, _
newSchema As String, _
modelElement As ISqlModelElement, _
useDefaultSchema As Boolean, _
refactorIntoWarningObject As Boolean _
)
'Usage
Dim oldSchema As String
Dim newSchema As String
Dim modelElement As ISqlModelElement
Dim useDefaultSchema As Boolean
Dim refactorIntoWarningObject As Boolean
Dim instance As New MoveSchemaReferenceContributorInput(oldSchema, _
newSchema, modelElement, useDefaultSchema, _
refactorIntoWarningObject)
public MoveSchemaReferenceContributorInput(
string oldSchema,
string newSchema,
ISqlModelElement modelElement,
bool useDefaultSchema,
bool refactorIntoWarningObject
)
public:
MoveSchemaReferenceContributorInput(
String^ oldSchema,
String^ newSchema,
ISqlModelElement^ modelElement,
bool useDefaultSchema,
bool refactorIntoWarningObject
)
public function MoveSchemaReferenceContributorInput(
oldSchema : String,
newSchema : String,
modelElement : ISqlModelElement,
useDefaultSchema : boolean,
refactorIntoWarningObject : boolean
)
new :
oldSchema:string *
newSchema:string *
modelElement:ISqlModelElement *
useDefaultSchema:bool *
refactorIntoWarningObject:bool -> MoveSchemaReferenceContributorInput
Parameters
- oldSchema
Type: System.String
Old schema for the element
- newSchema
Type: System.String
New schema for the selected element that wants to move into
- modelElement
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.ISqlModelElement
Selected model element to apply move schema refactoring operation
- useDefaultSchema
Type: System.Boolean
Whether to use default schema
- refactorIntoWarningObject
Type: System.Boolean
Whether to refactor object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
MoveSchemaReferenceContributorInput Class
MoveSchemaReferenceContributorInput Members
MoveSchemaReferenceContributorInput Overload
Microsoft.VisualStudio.Data.Schema.Project.Sql.Refactoring.MoveSchema Namespace