UpgradeSession.IsUpgradeRequiredOnType Método
Retrieves a value that indicates whether an upgrade is required on the Type.No haga referencia directamente a este miembro en el código. Admite la infraestructura de SQL Server.
Espacio de nombres: Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado: Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxis
'Declaración
Public Overridable Function IsUpgradeRequiredOnType ( _
instanceType As String, _
fileVersion As Integer _
) As Boolean
'Uso
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
Parámetros
- instanceType
Tipo: System.String
A string that represents the type of instance used.
- fileVersion
Tipo: System.Int32
An integer type value for the file version.
Valor devuelto
Tipo: System.Boolean
true if upgrade is required; otherwise, false.