コード例 #1
0
 public static bool IsReportSystemEventRpcSupported(ServerVersion serverVersion, AmSystemEventCode eventCode)
 {
     if (eventCode == AmSystemEventCode.StoreServiceStarted || eventCode == AmSystemEventCode.StoreServiceStopped)
     {
         return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.ReportSystemEventRpcSupportedVersion));
     }
     return(eventCode == AmSystemEventCode.StoreServiceUnexpectedlyStopped && ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.UnexpectedStoreStopEventCodeSupportedVersion));
 }
コード例 #2
0
 public static bool IsServerMoveBackDatabasesRpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.AmServerMoveBackDatabasesRpcSupportedVersion));
 }
コード例 #3
0
 public static bool IsGetDeferredRecoveryEntriesRpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.GetDeferredRecoveryEntriesRpcSupportedSupportedVersion));
 }
コード例 #4
0
 public static bool IsReportServiceKillRpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.ReportServiceKillSupportedVersion));
 }
コード例 #5
0
 public static bool IsMoveWithCatalogFailureReasonCodeSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.MoveWithCatalogFailureReasonCodeVersion));
 }
コード例 #6
0
 public static bool IsMountWithAmFlagsRpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.MountWithAmFlagsSupportedVersion));
 }
コード例 #7
0
 public static bool IsAttemptCopyLastLogsDirect3RpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.AttemptCopyLastLogsDirect3SupportVersion));
 }
コード例 #8
0
 public static bool IsAmRefreshConfigurationSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.AmRefreshConfigurationRpcSupportVersion));
 }
コード例 #9
0
 public static bool IsCheckThirdPartyListenerSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.ThirdPartyReplListenerSupportedVersion));
 }
コード例 #10
0
 public static bool IsMoveDatabaseEx3RpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.MoveDatabaseEx3RpcSupportVersion));
 }
コード例 #11
0
 public static bool IsGetAmRoleRpcSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.GetAMRoleSupportVersion));
 }
コード例 #12
0
 public static bool IsSwitchOverSupported(ServerVersion serverVersion)
 {
     return(ReplayRpcVersionControl.IsVersionGreater(serverVersion, AmRpcVersionControl.SwitchOverSupportVersion));
 }