RenameReferenceContributorInput Constructor (String, String, ISqlModelElement, Boolean)
Initializes a new instance of the RenameReferenceContributorInput class.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Sql.Refactoring
Assembly: Microsoft.VisualStudio.Data.Schema.Package.Sql (in Microsoft.VisualStudio.Data.Schema.Package.Sql.dll)
Syntax
'Declaration
Public Sub New ( _
oldName As String, _
newName As String, _
modelElement As ISqlModelElement, _
useDefaultSchema As Boolean _
)
public RenameReferenceContributorInput(
string oldName,
string newName,
ISqlModelElement modelElement,
bool useDefaultSchema
)
public:
RenameReferenceContributorInput(
String^ oldName,
String^ newName,
ISqlModelElement^ modelElement,
bool useDefaultSchema
)
new :
oldName:string *
newName:string *
modelElement:ISqlModelElement *
useDefaultSchema:bool -> RenameReferenceContributorInput
public function RenameReferenceContributorInput(
oldName : String,
newName : String,
modelElement : ISqlModelElement,
useDefaultSchema : boolean
)
Parameters
- oldName
Type: System.String
Old name for an element.
- newName
Type: System.String
New name for an element.
- modelElement
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlModelElement
Element to rename.
- useDefaultSchema
Type: System.Boolean
Whether default project schema is used to analyze unqualified references in scripts and unit tests.
.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 Overload
Microsoft.VisualStudio.Data.Schema.Package.Sql.Refactoring Namespace