RenameReferenceContributorInput Constructor (String, String, ISqlModelElement, Boolean, Boolean)
Initializes a new instance of the RenameReferenceContributorInput class.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Sql.Refactoring.Rename
Assembly: Microsoft.VisualStudio.Data.Schema.Project.Sql (in Microsoft.VisualStudio.Data.Schema.Project.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
oldName As String, _
newName As String, _
modelElement As ISqlModelElement, _
useDefaultSchema As Boolean, _
refactorIntoWarningObject As Boolean _
)
'Usage
Dim oldName As String
Dim newName As String
Dim modelElement As ISqlModelElement
Dim useDefaultSchema As Boolean
Dim refactorIntoWarningObject As Boolean
Dim instance As New RenameReferenceContributorInput(oldName, _
newName, modelElement, useDefaultSchema, _
refactorIntoWarningObject)
public RenameReferenceContributorInput(
string oldName,
string newName,
ISqlModelElement modelElement,
bool useDefaultSchema,
bool refactorIntoWarningObject
)
public:
RenameReferenceContributorInput(
String^ oldName,
String^ newName,
ISqlModelElement^ modelElement,
bool useDefaultSchema,
bool refactorIntoWarningObject
)
public function RenameReferenceContributorInput(
oldName : String,
newName : String,
modelElement : ISqlModelElement,
useDefaultSchema : boolean,
refactorIntoWarningObject : boolean
)
new :
oldName:string *
newName:string *
modelElement:ISqlModelElement *
useDefaultSchema:bool *
refactorIntoWarningObject:bool -> RenameReferenceContributorInput
Parameters
- oldName
Type: System.String
The old schema object name
- newName
Type: System.String
The new name
- modelElement
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.ISqlModelElement
The model element
- useDefaultSchema
Type: System.Boolean
Whether to use default schema
- refactorIntoWarningObject
Type: System.Boolean
Whether to refactor the 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
RenameReferenceContributorInput Class
RenameReferenceContributorInput Members
RenameReferenceContributorInput Overload
Microsoft.VisualStudio.Data.Schema.Project.Sql.Refactoring.Rename Namespace