PolicyStoreUpgradeSession.IsUpgradeRequiredOnType メソッド
指定された型および指定されたファイルについて、アップグレードが必要かどうかを判断します。
名前空間: Microsoft.SqlServer.Management.Dmf
アセンブリ: Microsoft.SqlServer.Dmf (Microsoft.SqlServer.Dmf.dll)
構文
'宣言
Public Overrides Function IsUpgradeRequiredOnType ( _
instanceType As String, _
fileVersion As Integer _
) As Boolean
'使用
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
パラメーター
- instanceType
型: System.String
型を示す String 値です。
- fileVersion
型: System.Int32
ファイルのバージョンを示す Int32 値です。
戻り値
型: System.Boolean
アップグレードが必要かどうかを示す Boolean 値です。True の場合、アップグレードが必要です。それ以外の場合は False です。