共用方式為


IDTSComponentView100 Interface

Definition

Allows changes to the IDTSComponentMetaData100 of a data flow component to be rolled back.

public interface class IDTSComponentView100
[System.Runtime.InteropServices.Guid("1CC22660-E4D5-46EB-B662-59ADA7319105")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSComponentView100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("D48794E2-CF9F-4228-B6DD-179ABF0E6E5D")]
public interface IDTSComponentView100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("D7B618FD-C36D-4BF7-83D7-CA1F51485120")]
public interface IDTSComponentView100
[<System.Runtime.InteropServices.Guid("1CC22660-E4D5-46EB-B662-59ADA7319105")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSComponentView100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("D48794E2-CF9F-4228-B6DD-179ABF0E6E5D")>]
type IDTSComponentView100 = interface
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("D7B618FD-C36D-4BF7-83D7-CA1F51485120")>]
type IDTSComponentView100 = interface
Public Interface IDTSComponentView100
Attributes

Remarks

The GetComponentView method retrieves an instance of the IDTSComponentView100 interface for a data flow component. After the IDTSComponentView100 is obtained, changes to the IDTSComponentMetaData100 can be committed or rolled back by using the Commit or Cancel methods.

SQL Server Data Tools (SSDT) uses this interface to allow users to cancel edits to data flow components.

Methods

Cancel()

Cancels changes to the IDTSComponentMetaData100 of a data flow component.

Commit()

Commits changes to the IDTSComponentMetaData100 of a data flow component.

Applies to