Sdílet prostřednictvím


ConnectionManagerBase.CanUpdate Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Overridable Function CanUpdate ( _
    CreationName As String _
) As Boolean
'Usage
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

Parameters

  • CreationName
    Type: System.String
    The name of the connection to upgrade.

Return Value

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