Task.CanUpdate Method
A Boolean that indicates whether the new package XML can update the old package XML.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)
구문
‘선언
Public Overridable Function CanUpdate ( _
CreationName As String _
) As Boolean
public virtual bool CanUpdate (
string CreationName
)
public:
virtual bool CanUpdate (
String^ CreationName
)
public boolean CanUpdate (
String CreationName
)
public function CanUpdate (
CreationName : String
) : boolean
매개 변수
- CreationName
A String that contains the unique identifier of the old package.
반환 값
A Boolean that indicates whether the new package XML can update the old XML.
주의
The run-time engine calls CanUpdate on new objects, passing in the GUID of the old object. If the new object can update the old object, the old object is passed to the new one through the Update method, where the XML is changed.
By default, all extensible objects implement CanUpdate to return false, and implement the Update method to do nothing on the XML it is given in its parameters.
스레드 보안
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
플랫폼
개발 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
대상 플랫폼
지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.
참고 항목
참조
Task Class
Task Members
Microsoft.SqlServer.Dts.Runtime Namespace