Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Retrieves a value that indicates whether an upgrade is required on the Type.Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Overridable Function IsUpgradeRequiredOnType ( _
instanceType As String, _
fileVersion As Integer _
) As Boolean
'Usage
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
Parameter
- instanceType
Typ: System.String
A string that represents the type of instance used.
- fileVersion
Typ: System.Int32
An integer type value for the file version.
Rückgabewert
Typ: System.Boolean
true if upgrade is required; otherwise, false.