CanUpdate 方法

Gets or sets a Boolean that determines whether a connection manager supports upgrading the connection XML to a newer version.

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

語法

'宣告
Public Overridable Function CanUpdate ( _
    CreationName As String _
) As Boolean
'用途
Dim instance As ConnectionManagerBase
Dim CreationName As String
Dim returnValue As Boolean

returnValue = instance.CanUpdate(CreationName)
public virtual bool CanUpdate(
    string CreationName
)
public:
virtual bool CanUpdate(
    String^ CreationName
)
abstract CanUpdate : 
        CreationName:string -> bool 
override CanUpdate : 
        CreationName:string -> bool 
public function CanUpdate(
    CreationName : String
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
true if support exists for upgrades; otherwise, false. The default value is false.