Bagikan melalui


IDTSDowngradableObject100.CanDowngradeTo Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Determines whether the downgradable object can be downgraded to a lower version.

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

Syntax

'Declaration
Function CanDowngradeTo ( _
    versionTo As Integer _
) As Boolean
'Usage
Dim instance As IDTSDowngradableObject100 
Dim versionTo As Integer 
Dim returnValue As Boolean 

returnValue = instance(versionTo)
bool CanDowngradeTo(
    int versionTo
)
bool CanDowngradeTo(
    [InAttribute] int versionTo
)
abstract CanDowngradeTo : 
        versionTo:int -> bool
function CanDowngradeTo(
    versionTo : int
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the downgradable object can be downgraded to a lower version; otherwise, false.

See Also

Reference

IDTSDowngradableObject100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace