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.
Determines whether an upgrade is required for the specified type and the specified file.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public Overrides Function IsUpgradeRequiredOnType ( _
instanceType As String, _
fileVersion As Integer _
) As Boolean
'Usage
Dim instance As PolicyStoreUpgradeSession
Dim instanceType As String
Dim fileVersion As Integer
Dim returnValue As Boolean
returnValue = instance.IsUpgradeRequiredOnType(instanceType, _
fileVersion)
public override bool IsUpgradeRequiredOnType(
string instanceType,
int fileVersion
)
public:
virtual bool IsUpgradeRequiredOnType(
String^ instanceType,
int fileVersion
) override
abstract IsUpgradeRequiredOnType :
instanceType:string *
fileVersion:int -> bool
override IsUpgradeRequiredOnType :
instanceType:string *
fileVersion:int -> bool
public override function IsUpgradeRequiredOnType(
instanceType : String,
fileVersion : int
) : boolean
Parameter
- instanceType
Typ: System.String
A String value that specifies the type.
- fileVersion
Typ: System.Int32
An Int32 value that specifies the version of the files.
Rückgabewert
Typ: System.Boolean
A Boolean value that specifies whether an upgrade is required. If True, an upgrade is required. Otherwise, False.