Méthode IsUpgradeRequiredOnType

Retrieves a value that indicates whether an upgrade is required on the Type.Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Overridable Function IsUpgradeRequiredOnType ( _
    instanceType As String, _
    fileVersion As Integer _
) As Boolean
'Utilisation
Dim instance As UpgradeSession
Dim instanceType As String
Dim fileVersion As Integer
Dim returnValue As Boolean

returnValue = instance.IsUpgradeRequiredOnType(instanceType, _
    fileVersion)
public virtual bool IsUpgradeRequiredOnType(
    string instanceType,
    int fileVersion
)
public:
virtual bool IsUpgradeRequiredOnType(
    String^ instanceType, 
    int fileVersion
)
abstract IsUpgradeRequiredOnType : 
        instanceType:string * 
        fileVersion:int -> bool 
override IsUpgradeRequiredOnType : 
        instanceType:string * 
        fileVersion:int -> bool 
public function IsUpgradeRequiredOnType(
    instanceType : String, 
    fileVersion : int
) : boolean

Paramètres

Valeur de retour

Type : System. . :: . .Boolean
true if upgrade is required; otherwise, false.