RenameReferenceContributorInput Class

This class provides input parameters to the Rename reference operation.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.Schema.Package.Refactoring.ContributorInput
    Microsoft.VisualStudio.Data.Schema.Package.Sql.Refactoring.RenameReferenceContributorInput

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
<CLSCompliantAttribute(False)> _
Public NotInheritable Class RenameReferenceContributorInput _
    Inherits ContributorInput
[CLSCompliantAttribute(false)]
public sealed class RenameReferenceContributorInput : ContributorInput
[CLSCompliantAttribute(false)]
public ref class RenameReferenceContributorInput sealed : public ContributorInput
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type RenameReferenceContributorInput =  
    class
        inherit ContributorInput
    end
public final class RenameReferenceContributorInput extends ContributorInput

The RenameReferenceContributorInput type exposes the following members.

Constructors

  Name Description
Public method RenameReferenceContributorInput(String, String, ISqlModelElement) Initializes a new instance of the RenameReferenceContributorInput class.
Public method RenameReferenceContributorInput(String, String, ISqlModelElement, Boolean) Initializes a new instance of the RenameReferenceContributorInput class.

Top

Properties

  Name Description
Public property ModelElement Gets the schema object to rename.
Public property NewName Gets the new name for the schema object.
Public property OldName Gets the old schema object name.
Public property RefactoringOperation This property represents the refactoring operation for which this ContributorInput is used. (Inherited from ContributorInput.)
Public property ReferencingProject Gets the referencing project.
Public property UseDefaultSchema Gets a value that indicates whether the default project schema is used to analyze unqualified references in scripts and unit tests.

Top

Methods

  Name Description
Public method Equals Returns true if the RenameReferenceContributorInput object has the same value as another object, which must also be RenameReferenceContributorInput. (Overrides ContributorInput.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Returns a hash code for the RenameReferenceContributorInput object. (Overrides ContributorInput.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Data.Schema.Package.Sql.Refactoring Namespace