internal static void DismountDatabaseDirect(AmServerName serverName, Guid dbGuid, UnmountFlags flags, AmDbActionCode actionCode) { AmFaultInject.GenerateMapiExceptionIfRequired(dbGuid, serverName); AmDismountArg dismountArg = new AmDismountArg((int)flags, (int)actionCode); Dependencies.AmRpcClientWrapper.DismountDatabaseDirect(serverName.Fqdn, dbGuid, dismountArg); }
// Token: 0x06000465 RID: 1125 RVA: 0x00017818 File Offset: 0x00015A18 public override RpcErrorExceptionInfo DismountDatabaseDirect(Guid guid, AmDismountArg dismountArg) { AmTrace.Debug("Dismounting database: {0}", new object[] { guid }); RpcErrorExceptionInfo rpcErrorExceptionInfo = AmRpcExceptionWrapper.Instance.RunRpcServerOperation(delegate() { AmDbActionCode actionCode = new AmDbActionCode(dismountArg.Reason); AmRpcServer.m_amInstance.DismountDatabaseDirect(guid, (UnmountFlags)dismountArg.Flags, actionCode); }); if (rpcErrorExceptionInfo.IsFailed()) { ReplayCrimsonEvents.DismountDirectFailed.Log <Guid, string>(guid, rpcErrorExceptionInfo.ErrorMessage); } return(rpcErrorExceptionInfo); }
// Token: 0x06000840 RID: 2112 RVA: 0x0002825A File Offset: 0x0002645A public void DismountDatabaseDirect(string serverToRpc, Guid dbGuid, AmDismountArg dismountArg) { AmRpcClientHelper.DismountDatabaseDirect(serverToRpc, dbGuid, dismountArg); }