共用方式為


IDTSObjectVersionUpdate100.CanUpdate 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Specifies whether the version of DTS object can be updated.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Function CanUpdate ( _
    ObjectCreationName As String _
) As Boolean
'用途
Dim instance As IDTSObjectVersionUpdate100 
Dim ObjectCreationName As String 
Dim returnValue As Boolean 

returnValue = instance(ObjectCreationName)
bool CanUpdate(
    string ObjectCreationName
)
bool CanUpdate(
    [InAttribute] String^ ObjectCreationName
)
abstract CanUpdate : 
        ObjectCreationName:string -> bool
function CanUpdate(
    ObjectCreationName : String
) : boolean

參數

  • ObjectCreationName
    型別:System.String
    The name of the object.

傳回值

型別:System.Boolean
True if the version of DTS object can be updated; otherwise, false.

備註

[!附註]

This member will be removed in a future version of Microsoft SQL Server. Avoid using this member in new development work, and plan to modify applications that currently use this member.

請參閱

參考

IDTSObjectVersionUpdate100 介面

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間