PolicyStoreUpgradeSession.IsUpgradeRequiredOnType 메서드

Determines whether an upgrade is required for the specified type and the specified file.

네임스페이스:  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

매개 변수

  • fileVersion
    유형: System.Int32
    An Int32 value that specifies the version of the files.

반환 값

유형: System.Boolean
A Boolean value that specifies whether an upgrade is required. If True, an upgrade is required. Otherwise, False.

참고 항목

참조

PolicyStoreUpgradeSession 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스